--- eleventyNavigation: key: Syntax Highlighting parent: Features order: 10 title: Syntax Highlighting description: Beautiful code blocks powered by Shiki --- JuicyDocs uses [Shiki](https://shiki.style/) for syntax highlighting. Shiki uses the same grammar files as VS Code, providing accurate and beautiful code highlighting. ## Basic Usage Use fenced code blocks with a language identifier: ````markdown ```javascript function hello() { console.log("Hello, JuicyDocs!"); } ``` ```` Renders as: ```javascript function hello() { console.log("Hello, JuicyDocs!"); } ``` ## Supported Languages Shiki supports [all languages available in VS Code](https://shiki.style/languages). Common languages include: | Language | Identifier | |----------|------------| | JavaScript | `javascript`, `js` | | TypeScript | `typescript`, `ts` | | Python | `python`, `py` | | HTML | `html` | | CSS | `css` | | JSON | `json` | | YAML | `yaml` | | Bash | `bash`, `shell` | | Markdown | `markdown`, `md` | ## Code Block Examples ### HTML ```html