Mirrordown
A collection of markdown syntax extensions for VSCode and the unified/markdown-it ecosystems.
Plugins
abbr
Adds abbreviation definitions that auto-expand matching text with tooltips.
attrs
Adds attribute syntax to attach HTML attributes to headings, blocks, inline elements, and more.
autolink-headings
Adds links from headings back to themselves so they can be shared.
block-ids
Turns an Obsidian block identifier, ^id at the end of a block, into the block's HTML id, so a link to
caption
Captions any block with a ~: line written right after it, wrapping the block in a <figure> with a <figcaption>.
cjk-breaks
Removes a soft line break between two Chinese or Japanese characters, where the browser would show it as a space.
cjk-friendly
Lets emphasis, strikethrough and every Mirrordown delimiter open and close beside Chinese, Japanese and Korean punctuation.
copy-code
Adds a copy button to every code block, as an invoker command, with a small client script that copies.
definition-list
Adds definition list syntax using terms followed by : or ~ descriptions.
del
Adds strikethrough/delete syntax using --double dashes--.
file-tree
Renders file trees from filetree code fences, with Seti icons, git status and collapsible folders, that read as plain text where the plugin isn't installed.
github-alerts
Renders GitHub-flavored alert blockquotes with icons and styled containers.
image-size
Reads Obsidian's image size from an image's description () into its width and height attributes.
ins
Adds insertion syntax using ++double plus signs++.
kbd
Adds keyboard key syntax using [[double brackets]].
lightbox
Opts an image into a JavaScript-free, click-to-zoom <dialog> lightbox with a leading !!.
mark
Adds highlight syntax using ==double equals==.
mermaid-pele
Renders mermaid code blocks to inline SVG at build time with Pele, themed with CSS variables.
prompt
Renders prompt code fences as AI prompts readers can copy or open in Claude, ChatGPT and other services, collapsed by default, that read as plain text where the plugin isn't installed.
ruby
Adds ruby annotation syntax for East Asian typography using {base|reading}.
sectionize
Wraps each heading and the content beneath it in a semantic <section> element, nesting by heading depth.
slug
Adds GitHub-style id slugs to headings so they can be linked to.
spoiler
Discord-style ||spoiler|| syntax — click-to-reveal hidden text and images, with no JavaScript.
squeeze-paragraphs
Removes empty (whitespace-only) paragraphs, cleaning up residue left behind by other transforms.
steps
Renders numbered step lists using @N. headers and > blockquote bodies.
sub
Adds subscript syntax using ~tilde~.
sup
Adds superscript syntax using ^caret^.
tab-icons
Adds an icon to tab labels: the one a [!keyword] marker names, or the one the label's text matches, such as npm, pnpm or vite.config.ts.
tabs
Renders CSS-only tab groups using % tab headers and > blockquote bodies.
tags
Turns a
task-lists
Renders GFM task lists in every engine, plus six task markers the community agrees on, each labelled and drawn with its own icon.
unwrap-images
Removes the wrapping paragraph from standalone images so they render as block elements.