Zum Hauptinhalt springen

v1.1.0 — New Formatting Features

· Eine Minute Lesezeit

v1.1.0 adds support for three Obsidian formatting features that were previously not converted.

What's new

Comment Filter

Obsidian comments (%% ... %%) are now stripped during conversion — both inline and multi-line block comments.

%% This will not appear on the website %%

%%
Neither will this
multi-line block
%%

Highlighting

==highlighted text== is converted to <mark>highlighted text</mark>, which renders with native browser highlight styling.

Mermaid Diagrams

Mermaid code blocks are passed through to Docusaurus. Requires @docusaurus/theme-mermaid in your Docusaurus config:

themes: ['@docusaurus/theme-mermaid'],
markdown: { mermaid: true }

Supported diagram types: flowchart, sequence, class, gantt, pie — and all other Mermaid types.

Already working (no conversion needed)

  • Footnotes ([^1]) — handled natively by MDX
  • Task lists (- [ ] / - [x]) — handled natively by MDX

Bug Fix

  • <mark> at the start of a line is now prefixed with {''} to prevent MDX 2 from parsing the paragraph as a block-level JSX element