Skip to content

0.8.0 — Local Mermaid rendering, table row separators

Latest

Choose a tag to compare

@feibuilds feibuilds released this 25 Nov 01:04
· 1 commit to main since this release

Mermaid diagrams can now be drawn on your own machine. Set mermaid_renderer_path to merman-cli or mermaid-cli's mmdc and a diagram is drawn by it, as a PNG, instead of being sent to mermaid_server. Nothing leaves the machine, so no privacy caption is shown. mermaid_timeout_seconds bounds each run. A missing renderer reads No Mermaid renderer, and a diagram it cannot draw reads Could not be drawn, with the renderer's own message in the console (#10). Contributed by @JamesHopkin in #15.

mermaid_look chooses Mermaid's look, for the server and a local renderer alike: classic, the default, draws plain borders, and neo gives Mermaid 12's gradient borders and drop shadows. mermaid.ink has lately drawn neo when not told otherwise, so its diagrams now come with plain borders unless you choose neo. Also from @JamesHopkin in #15.

Table rows are now separated by a hairline. A row that wrapped onto several lines used to run straight into the next one, so a table with prose in its cells read as one block of text. Contributed by @DiegoOliveiras in #19.

These are MarkdownGlance's first outside contributions — thank you both.

Checked on Linux, on build 4215 (Python 3.14) and build 4200 (Python 3.8). James checked the local renderer on Windows and macOS, and Diego checked the tables on Windows 11. Package Control messages remain limited to the install note.

Requires Sublime Text build 4200 or newer. Install through Package Control; see the README.

Changelog · Compare 0.7.0...0.8.0