Syntax highlighting, code themes, and a front matter card for prompt files
Code blocks and YAML front matter got a big upgrade, so code and prompt documents read and print better. Prompt files that start with metadata such as name and description — meta prompts, skill files (SKILL.md) and the like — now show that metadata as a tidy document info card, and save to PDF just as they look. If you keep your prompts in Markdown, this makes a prompt library easy to turn into a readable document.



New
- Syntax highlighting: write a language after the fence (```ts) and the code is coloured for it. 24 languages including TypeScript, Python, Go, Rust, Kotlin, Swift, C/C++, C#, PHP, Ruby and SQL.
- Code themes: choose GitHub, One, Monokai, Dracula, Nord or Solarized — the same in the preview, print and PDF. The default (Auto) picks light or dark colours to suit the code background.
- Code block toolbar: hover a code block in the preview to change its language or theme and copy the code. Changing the language updates the Markdown source too.
- Document info card: YAML front matter at the top of a file (the block between --- lines) is shown as a key/value card — handy for meta prompts, skill files and blog post metadata.
- Document info styling: in the style panel, set colour, font, size and weight separately for keys and values, plus the card's background, margin and border.
Improved
- Code blocks and inline code are now styled separately. Styles you saved earlier carry over unchanged.
- Style panel groups are now separate cards, so it's clear which fields belong together. Colour fields show the default colour that is actually on screen.
- Opening the style panel hides the right-hand ad column, giving the preview more room.
Fixed
- Fixed code block margin and border being drawn on every line.
- Fixed front matter turning into one giant heading because of its closing ---.
- Fixed element reset leaving front matter key/value and table header/cell styles behind, and the element buttons shifting when one was selected.