Mermaid Sample
Demo
md
```mermaid
journey
title My working day
section Go to work
Make tea: 5: Me
Go upstairs: 3: Me
Do work: 1: Me, Cat
section Go home
Go downstairs: 5: Me
Sit down: 5: Me
```
Timeline plugin sample
Demo
2023-05-24 - do some thing1
- do some thing2
2023-05-24
- do some thing1
- do some thing2
md
::: timeline 2023-05-24
- **do some thing1**
- do some thing2
2023-05-23
do some thing3 do some thing4
:::
Magic Move
Loading...
Youtube Video sample
Demo
md
<YoutubeVideo videoId="IL7J9ueYRYc" />
Damage Static chart
Demo
md
<DamageChart
mode="static"
:incomingDamage="20"
:armorToughness="5"
:minDamage="4"
:maxDamage="20"
:maxArmorPoints="20"
:isJavaEdition="true"
/>
PDF Viewer
Demo
md
<PdfViewer pdfSource="/pdf/modding/java/test.pdf"/>
File Tree
Basic File Tree
Basic Example
- Company A
- Administrative Center
- CEO Office
- +Human Resources Added
- +Finance Added
- +Administration Added
- Legal
- Audit Error
- IT Center Success
- Marketing Center
- Marketing
- -Sales Removed
- -Customer Service Removed
- -Brand Removed
- Marketing Planning
- Marketing Operations Important
- R&D Center
- Mobile Development
- *Platform Development Modified
- *Testing Modified
- *Operations Modified
- Product
- Design
- Company A
- Administrative Center
- CEO Office
- +Human Resources Added
- +Finance Added
- +Administration Added
- Legal
- Audit Error
- IT Center Success
- Marketing Center
- Marketing
- -Sales Removed
- -Customer Service Removed
- -Brand Removed
- Marketing Planning
- Marketing Operations Important
- R&D Center
- Mobile Development
- *Platform Development Modified
- *Testing Modified
- *Operations Modified
- Product
- Design
- Administrative Center
md
<LiteTree>
Company A
Administrative Center
CEO Office
Human Resources //+ Added
Finance //+ Added
Administration //+ Added
Legal
Audit //x Error
IT Center //v Success
Marketing Center
Marketing
Sales //- Removed
Customer Service //- Removed
Brand //- Removed
Marketing Planning
Marketing Operations //! Important
R&D Center
Mobile Development
Platform Development //* Modified
Testing //* Modified
Operations //* Modified
Product
Design
</LiteTree>
File Tree with Variables and Styling
Advanced Styling Example
- Frontend Project
- src
- components
- Header.vue Completed
- Footer.vue Completed
- Sidebar.vue In Progress
- pages
- Home.vue Completed
- About.vue Needs Refactor
- utils
- api.js Completed
- helpers.js Needs Optimization
- package.json
- README.md Needs Documentation Update
- Frontend Project
- src
- components
- Header.vue Completed
- Footer.vue Completed
- Sidebar.vue In Progress
- pages
- Home.vue Completed
- About.vue Needs Refactor
- utils
- api.js Completed
- helpers.js Needs Optimization
- components
- package.json
- README.md Needs Documentation Update
- src
md
<LiteTree>
// Define style variables
#important=color:red;font-weight:bold;background:#ffe6e6;padding:2px 6px;border-radius:3px;
#success=color:green;font-weight:bold;background:#e6ffe6;padding:2px 6px;border-radius:3px;
#warning=color:orange;background:#fff3e0;padding:2px 6px;border-radius:3px;
.folder=color:#1976d2;font-weight:500;
.file=color:#666;
// Define icon variables
folder=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTEwIDRIOGEyIDIgMCAwIDAtMiAydjEyYTIgMiAwIDAgMCAyIDJoOGEyIDIgMCAwIDAgMi0yVjhhMiAyIDAgMCAwLTItMmgtM2wtMi0yWiIvPjwvc3ZnPg==
file=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTE0IDJINmEyIDIgMCAwIDAtMiAydjE2YTIgMiAwIDAgMCAyIDJoMTJhMiAyIDAgMCAwIDItMlY4bC02LTZtNCA5VjlsNCA0aC00WiIvPjwvc3ZnPg==
js=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwM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folder}components
[file] {.file}Header.vue // {#success}Completed
[file] {.file}Footer.vue // {#success}Completed
[file] {.file}Sidebar.vue // {#warning}In Progress
[folder] {.folder}pages
[file] {.file}Home.vue // {#success}Completed
[file] {.file}About.vue // {#important}Needs Refactor
[folder] {.folder}utils
[js] {.file}api.js // {#success}Completed
[js] {.file}helpers.js // {#warning}Needs Optimization
[file] {.file}package.json
[file] {.file}README.md // {#important}Needs Documentation Update
</LiteTree>
Standard Markers Example
Marker Explanation
- Project Status Check
- Completed Features Success marker (green checkmark)
- +New Features Added marker (green plus)
- -Removed Features Removed marker (red minus)
- Errors Found Error marker (red X)
- *Modified Files Modified marker (orange asterisk)
- Important Items Important marker (red exclamation)
- Project Status Check
- Completed Features Success marker (green checkmark)
- +New Features Added marker (green plus)
- -Removed Features Removed marker (red minus)
- Errors Found Error marker (red X)
- *Modified Files Modified marker (orange asterisk)
- Important Items Important marker (red exclamation)
md
<LiteTree>
Project Status Check
Completed Features //v Success marker (green checkmark)
New Features //+ Added marker (green plus)
Removed Features //- Removed marker (red minus)
Errors Found //x Error marker (red X)
Modified Files //* Modified marker (orange asterisk)
Important Items //! Important marker (red exclamation)
</LiteTree>
Inline Styling Example
Inline Color Styling
- Project Components
- Completed Components
- Components in Progress
- Components with Issues
- Special Components
- Project Components
- Completed Components
- Components in Progress
- Components with Issues
- Special Components
md
<LiteTree>
Project Components
{color:green;font-weight:bold}Completed Components
{color:orange}Components in Progress
{color:red}Components with Issues
{color:blue;background:#e3f2fd;padding:2px 4px;border-radius:2px}Special Components
</LiteTree>
Project Structure Example
Project Structure
- CrychicDoc
- .vitepress
- config Configuration directory
- index.ts New configuration
- plugins Plugins directory
- custom-alert.ts Custom alert plugin
- dialog.ts Dialog plugin
- theme
- components Component library
- CustomAlert.vue Alert component
- Dialog.vue Dialog component
- docs
- zh Chinese documentation
- styleList.md Needs update
- en English documentation
- samples.md Sample documentation
- package.json
- README.md Project description
- CrychicDoc
- .vitepress
- config Configuration directory
- index.ts New configuration
- plugins Plugins directory
- custom-alert.ts Custom alert plugin
- dialog.ts Dialog plugin
- theme
- components Component library
- CustomAlert.vue Alert component
- Dialog.vue Dialog component
- components Component library
- config Configuration directory
- docs
- zh Chinese documentation
- styleList.md Needs update
- en English documentation
- samples.md Sample documentation
- zh Chinese documentation
- package.json
- README.md Project description
- .vitepress
md
<LiteTree>
// Style definitions
#new=color:white;background:#4caf50;padding:1px 4px;border-radius:2px;font-size:12px;
#deprecated=color:white;background:#f44336;padding:1px 4px;border-radius:2px;font-size:12px;
.important=font-weight:bold;color:#1976d2;
// Icon definitions
vue=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiM0Y2FmNTAiIGQ9Ik0yIDIwaDIwTDEyIDR6Ii8+PC9zdmc+
ts=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMTUgMTUiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMxNzhDNiIgZD0iTTEyLjUgOHYtLjE2N2MwLS43MzYtLjU5Ny0xLjMzMy0xLjMzMy0xLjMzM0gxMGExLjUgMS41IDAgMSAwIDAgM2gxYTEuNSAxLjUgMCAwIDEgMCAzaC0xQTEuNSAxLjUgMCAwIDEgOC41IDExTTggNi41SDNtMi41IDBWMTNNMS41LjVoMTN2MTRIOS41eiIvPjwvc3ZnPg==
---
CrychicDoc
.vitepress
config // {.important}Configuration directory
index.ts // {#new}New configuration
plugins // {.important}Plugins directory
[ts] custom-alert.ts // {#new}Custom alert plugin
[ts] dialog.ts // {#new}Dialog plugin
theme
[vue] components // {.important}Component library
[vue] CustomAlert.vue // {#new}Alert component
[vue] Dialog.vue // {#new}Dialog component
docs
zh // Chinese documentation
styleList.md // {#deprecated}Needs update
en // English documentation
samples.md // {#new}Sample documentation
[file] package.json
[file] README.md // {.important}Project description
</LiteTree>