Writing Documentation
Learn how to create and organize content in Nextempura.
Markdown Basics
Nextempura uses GitHub Flavored Markdown (GFM) with additional features.
Headings
# H1 Heading
## H2 Heading
### H3 Heading
Text Formatting
**Bold text**
_Italic text_
~~Strikethrough~~
`Inline code`
Lists
Unordered lists:
- Item 1
- Item 2
- Nested item
Ordered lists:
1. First item
2. Second item
3. Third item
Code Blocks
Use triple backticks with language specification:
```javascript
function hello() {
console.log("Hello, World!");
}
```
Frontmatter
Every markdown file should include frontmatter:
---
title: Page Title
index: 1
---
Frontmatter Fields
title: Display title (required)index: Sort order in navigation (optional)
Best Practices
- Use descriptive headings: Help readers scan content
- Keep paragraphs short: Improve readability
- Include code examples: Show, don't just tell
- Link related topics: Help users discover more content