Skip to content

yfmd v0.10.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 02:27
302d7be

What's new in 0.10.0

References

  • [^id] footnote markers now render as numbered superscripts in the editor, and [^id]: text definition lines render as a numbered reference list — both revealing their raw markdown when the cursor touches them, like the rest of the live preview.
  • Footnotes are numbered by order of first reference; a definition with no reference is numbered after the referenced ones.
  • HTML and PDF export collect definitions into a proper footnotes section with back-links to each reference. Previously a marker printed its raw id instead of a number, and definition lines fell through as ordinary paragraphs.

Settings

  • New Syntax support tab: switch References, Highlight (==text==) and Superscript/subscript (x^2^, H~2~O) on or off independently. All three are on by default and persist between sessions.
  • The toggles apply to the editor and to HTML/PDF export alike, so an export always matches what you see.

Fixes

  • A footnote definition followed by another definition was silently swallowed — markdown-it claimed [^a]: text as a link reference definition. Footnote definitions are now parsed first.
  • The ^ inside a footnote marker paired with the next caret on the line, so claim[^a] with x^2^ rendered a] with x as a superscript and dropped the real one. Extension scanning now ignores footnote markers, and no longer lets a match span a code span or math range it only starts outside of.

Build

  • Installers for Linux (deb/rpm/AppImage), macOS (dmg) and Windows (msi/exe).