Mocha Markdown Preview
A dark, Obsidian-inspired look for VS Code's built-in Markdown preview, using the
Catppuccin Mocha palette. No settings needed: install it and
open any preview (Ctrl+Shift+V or Ctrl+K V).
Unofficial. Not affiliated with the Catppuccin project; it only uses their MIT-licensed palette.
What it styles
- Headings in distinct Mocha colours, comfortable line length and spacing
- Code blocks and syntax highlighting matched to the Catppuccin VS Code theme
- Tables with a header row, zebra rows and rounded corners
- Nested lists with coloured markers and indent guides
- Task-list checkboxes
- Blockquotes, horizontal rules,
kbd, footnotes, details, math
- Clean light output when printing or exporting to PDF
The built-in preview does not render these, so the extension adds them.
Callouts (Obsidian and GitHub style):
> [!note]
> Body text.
> [!warning] Custom title
> Careful here.
Types: note, info, todo, abstract (summary, tldr), tip (hint), important,
success (check, done), question (help, faq), warning (caution, attention),
failure (fail, missing), danger (error), bug, example, quote (cite).
Fold markers ([!tip]-, [!tip]+) are accepted and ignored.
Task lists:
- [ ] open
- [x] done
Highlights: ==highlighted text==
Notes
- The preview is always dark, whatever editor theme you use.
- In remote windows (SSH, containers) the extension must also be installed on the remote side
for callouts, task lists and highlights to render.