Code highlighting
Use fenced code blocks with a language identifier for syntax highlighting in the editor and preview.
Example
markdown
```typescript
function greet(name: string) {
console.log(`Hello, ${name}`);
}
```typescript
function greet(name: string) {
console.log(`Hello, ${name}`);
}Languages
Common stacks are supported (JS/TS, Python, Go, Rust, Java, C/C++, HTML/CSS, JSON/YAML, Shell, SQL, etc.)—coverage follows the bundled highlighter.
Inline code
Single backticks: `npm run build`.