Getting started
This is the getting started page
Setup
import { Hono } from 'hono'
const app = new Hono()
This is code
console.log('gone')
console.log('added')
🎯 Result
You now have:
✅ Markdown → HTML ✅ VitePress-grade syntax highlighting ✅ Auto sidebar generation ✅ Full-text search API ✅ Zero framework lock-in ✅ Fully custom UI
âš¡ Performance Tip (Very Important)
For production:
- Run
loadDocs()at boot - Keep everything in memory
- Zero markdown processing per request
This gives extreme performance.
🚀 Optional Enhancements (I can generate any of these)
- Live reload (dev mode)
- File watcher → hot docs reload
- Mermaid diagrams
- Shiki Twoslash (type hover in TS)
- Algolia-style search UI
- Versioned docs
- Multi-language docs
- MDX / JSX embedding