@@ -32,6 +32,32 @@ description: 'Overview of available components and features'
3232```
3333# Heading 6
3434
35+ <br />
36+
37+ ## Lists Examples
38+
39+ ``` mdx
40+ - List item 1
41+ - List item 2
42+ - List item 3
43+ ```
44+
45+ - List item 1
46+ - List item 2
47+ - List item 3
48+
49+ ``` mdx
50+ 1 . List item 1
51+ 2 . List item 2
52+ 3 . List item 3
53+ ```
54+
55+ 1 . List item 1
56+ 2 . List item 2
57+ 3 . List item 3
58+
59+
60+
3561<br />
3662
3763### Images
@@ -79,6 +105,89 @@ function example() {
79105
80106## Interactive Components
81107
108+ ### Mermaid
109+
110+ ``` mdx
111+ mermaid
112+ graph TD
113+
114+ %% Main Start
115+ Start([ Start Process] ) --> Validate[ Validate Input]
116+
117+ %% Decision Point
118+ Validate -->|Valid| ProcessData{ Is Data Clean ? }
119+ Validate -- > | Invalid | Error [Show Error Message ]
120+
121+ %% Clean Data Branch
122+ ProcessData -- > | Yes | Clean [Clean Data ]
123+ Clean -- > Analyze [Analyze Data ]
124+
125+ %% Dirty Data Branch
126+ ProcessData -- > | No | Notify [Notify User ]
127+ Notify -- > Wait [Wait for Input ]
128+ Wait -- > Validate
129+
130+ %% Parallel Branches After Analysis
131+ Analyze -- > Split1 & Split2
132+
133+ subgraph Parallel Tasks
134+ Split1 [Generate Report ] -- > Merge
135+ Split2 [Update Dashboard ] -- > Merge
136+ end
137+
138+ Merge -- > Decision2 {Is More Input Needed?}
139+ Decision2 -- > | Yes | WaitMore [Wait for More Input ]
140+ WaitMore -- > Validate
141+ Decision2 -- > | No | End ([End Process ])
142+
143+ %% Style and Class Definitions
144+ classDef decision fill : #f9f ,stroke :#333 ,stroke - width :2px ;
145+ class ProcessData ,Decision2 decision ;
146+
147+ ```
148+
149+ <strong >
150+ <p >Note : Mermaid should be inside a code block with type "mermaid "</p >
151+ </strong >
152+
153+ ```mermaid
154+ graph TD
155+
156+ %% Main Start
157+ Start ([Start Process ]) --> Validate [Validate Input ]
158+
159+ %% Decision Point
160+ Validate -->|Valid | ProcessData {Is Data Clean? }
161+ Validate -- > | Invalid | Error [Show Error Message ]
162+
163+ %% Clean Data Branch
164+ ProcessData -- > | Yes | Clean [Clean Data ]
165+ Clean -- > Analyze [Analyze Data ]
166+
167+ %% Dirty Data Branch
168+ ProcessData -- > | No | Notify [Notify User ]
169+ Notify -- > Wait [Wait for Input ]
170+ Wait -- > Validate
171+
172+ %% Parallel Branches After Analysis
173+ Analyze -- > Split1 & Split2
174+
175+ subgraph Parallel Tasks
176+ Split1 [Generate Report ] -- > Merge
177+ Split2 [Update Dashboard ] -- > Merge
178+ end
179+
180+ Merge -- > Decision2 {Is More Input Needed?}
181+ Decision2 -- > | Yes | WaitMore [Wait for More Input ]
182+ WaitMore -- > Validate
183+ Decision2 -- > | No | End ([End Process ])
184+
185+ %% Style and Class Definitions
186+ classDef decision fill :#f9f ,stroke :#333 ,stroke - width :2px ;
187+ class ProcessData ,Decision2 decision ;
188+
189+ ```
190+
82191### Accordion
83192
84193```mdx
@@ -203,6 +312,20 @@ function example() {
203312 This is an expandable section that can be toggled .
204313</Expandable >
205314
315+ ### Source
316+
317+ ```mdx
318+ <Source url = " https://github.com/clidey/dory" paths = {[
319+ { path: " src/mdx/source.tsx" , range: " 1-46" },
320+ { path: " docs/features.mdx" , range: " 318-322" },
321+ ]} />
322+ ```
323+
324+ <Source url = " https://github.com/clidey/dory" paths = {[
325+ { path: " src/mdx/source.tsx" , range: " 1-46" },
326+ { path: " docs/features.mdx" , range: " 318-322" },
327+ ]} />
328+
206329<br />
207330<br />
208331<br />
0 commit comments