VitePress documentation site for Textwire templating engine for Go programming language.
- Theme files:
docs/.vitepress/theme/ - Syntax highlighting:
docs/.vitepress/textwire.tmLanguage.json - VitePress config:
docs/.vitepress/config.mts - Versioned docs:
docs/versions/ - Blog articles:
docs/.vitepress/blog/ - Blog registry:
docs/.vitepress/theme/modules/blogPosts.ts
- No tests needed
- Build:
npm run build
- If you write inline code examples with
{{and}}braces that Textwire uses, wrap them inHTML tags instead. Intead of{{ x = 5}}Textwire example, you should write{{ x = 5 }}. It's because if you write it with backtics, Vue will execute them since{{ }}braces are also used in Vue.js. - For all other inline code, use backticks
code. Only usecodewhen the code contains{{or}}braces to prevent Vue.js from executing it.