Skip to content

whynot 0.3.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 12:08
· 118 commits to main since this release
af2481d

whynot 0.3.0

On macOS:

brew install arnodel/tap/whynot

Otherwise, download the archive for your platform below, unzip it,
and run whynot (or whynot some-file.md).

Building from source instead:

go install github.com/arnodel/whynot/cmd/whynot@v0.3.0

Changelog

Other Changes

  • a15ee12 Add CustomFontFaceSelector for loading custom TTF/OTF fonts
  • 9149f1f Add StyleSheet.LineHeight for comfortable line spacing within a paragraph
  • af2481d Add opt-in syntax highlighting for code blocks (#2)
  • c279580 Add systemfont: resolve fonts by name from the host's installed fonts
  • e8a4d8e CustomFontFaceSelector: collection-aware registration API
  • 657598c CustomFontFaceSelector: default fallback to GoFontFaceSelector
  • 9ab1561 Render task list checkboxes as real boxes, not □/■ text (#1)
  • 140f2e9 cmd/whynot: use the platform's own fonts for document text
  • 822761d ebitenrenderer: fix baseline misalignment when mixing font faces
  • a2bcafe examples/customfont: bundle Pacifico as the default font
  • 968fdfd examples/customfont: render at the display's real device scale
  • a8cf815 examples/systemfont: also register a monospace system font
  • 926b906 examples/systemfont: default to Helvetica/Courier, not Arial/Courier New
  • 1aa80e1 examples/systemfont: demonstrate bold/italic from a registered collection
  • 977b11e systemfont: add RegisterPreferredFont, no font name required
  • 3ae69c8 systemfont: log which role each font decision was for

Full Changelog: v0.2.0...v0.3.0