Skip to content

v0.2.0

Choose a tag to compare

@tannevaled tannevaled released this 18 Oct 14:03
· 52 commits to main since this release
48b6864
go install github.com/go-slides/slides/cmd/slides@v0.2.0
  • Math: $…$ inline and $$…$$ display follow Marp Core's delimiter rules. go-tex/math typesets them into SVG sized in em, aligned on the text baseline, in HTML, images, PDF and PPTX (#7).
  • Code highlighting: go-rouge colours code blocks with highlight.js class names, the classes Marp's themes style (#7; go-rouge v0.5.0 adds the formatter).
  • Bold faces: Lato Bold and Black and Roboto Mono Bold are embedded, so gaia's headings and code get their weight (#7; go-opentype/fonts v0.13.0).
  • PowerPoint: --pptx (or -o deck.pptx) writes one picture per slide with its speaker notes through go-ooxml v0.4.0's WritePresentation, at scale 2 by default (#8).

Known limit: no italic face is embedded yet, so italic text renders upright.