Skip to content

1.2.0

Choose a tag to compare

@yanqingwang yanqingwang released this 03 Oct 05:09
· 7 commits to main since this release

1.2.0

Redo, plus two export options.

Redo

1.0.0 shipped undo with a note explaining that redo was unavailable. That was honest, but it was still
missing, and it is the kind of missing that reads as a bug: undo one step too far and there is no way
back except redoing the edit by hand.

  • Ctrl/Cmd+Shift+Z — redo
  • Ctrl+Y — redo, for people whose keyboard expects it
  • A new change after an undo discards the redo branch, so redo can only ever replay something you have
    not since replaced.
  • Undo and redo clear together when a different file is opened.

Export as SVG

Export → SVG. Vector output that scales to any size without blurring, and — because it is text —
diffs in git like the .mdx it came from.

Like the JPG/PNG exporters, it is generated from the chart model rather than by saving the on-screen
SVG, and for the same reason: cell text on screen lives in a foreignObject, and Chromium drops
foreignObject content when an SVG is loaded as an image. Every colour is written inline, because an
SVG opened outside Obsidian has no stylesheet to inherit.

Transparent background

Export → PNG or SVG, transparent background. For putting a chart into a slide or a document that
supplies its own background.

Offered per format rather than as a single toggle, because JPEG has no alpha channel — a transparent
JPEG is not a thing that can be produced, and asking for one yields a black rectangle where the
transparency should be.

No format changes. 1.0.0 and 1.1.0 files open in 1.2.0 unchanged.