The Astro Markdown with Shiki template demonstrates how to combine Astro's built-in Markdown support with Shiki for syntax highlighting in code blocks. This template provides a powerful solution for technical content, featuring Shiki's high-quality syntax highlighting that matches VS Code's themes, making code blocks both beautiful and functional.
| Item | Details |
|---|---|
| Repository | Azion Samples |
| Framework | Astro |
| Use Case | General |

About this template
This template combines Astro’s built-in Markdown support with Shiki, the syntax highlighter that also powers VS Code. Code blocks are highlighted at build time using familiar editor themes, so technical posts and documentation render crisp, readable snippets with no client-side JavaScript. Served from Azion’s edge, the pages load quickly for readers everywhere.
Key features
- Markdown content with Shiki-powered syntax highlighting for code blocks.
- VS Code-compatible themes for accurate, high-quality code rendering.
- Highlighting applied at build time, shipping zero extra client JavaScript.
- One-click deployment to Azion’s globally distributed global network.