Writing Content
LiteDocs renders standard Markdown with a few extensions.
Frontmatter
Every page can include YAML frontmatter at the top:
---
title: My Page Title
description: A short description for SEO
order: 1
---
| Field | Required | Description |
|---|---|---|
title |
Yes | Page title shown in browser tab |
description |
No | Used for meta tags and search |
order |
No | Sort order in auto-generated lists |
Callouts
LiteDocs supports five callout types:
Note
This is a note callout for general information.
Tip
This is a tip callout for helpful suggestions.
Important
This is an important callout for critical details.
Warning
This is a warning callout for potential issues.
Caution
This is a caution callout for dangerous actions.
Code Blocks
Fenced code blocks with syntax highlighting:
def hello():
print("Hello from LiteDocs!")
{
"site": { "title": "My Docs" }
}
Task Lists
- Write documentation
- Add code examples
- Publish to production
Tables
| Feature | Status |
|---|---|
| Markdown | Done |
| Dark Mode | Done |
| Search | Beta |
| Multi-Doc | Done |