Skip to content

v0.51.0

Choose a tag to compare

@kivikakk kivikakk released this 10 Mar 11:50
· 53 commits to main since this release
bc14250

新年快乐! :) What a lovely assortment of improvements, fixes, and new contributors we have in this release. Of particular note, Comrak has gained initial support for formatting to Typst, thanks to @neilberkman! This is a first cut and there are some known issues — see the PR — but I'm super happy to have folks testing it sooner rather than later!

Changed APIs:

  • Add "css" to CLI's syntax highlighting options; set CSS as the default highlighting mode. (by @gjtorikian in #739)
  • Allow raw nodes to be children of anything. (by @JeanMertz in #743)
  • Support comma-delimited language tokens in Syntect plugin. (by @neilberkman in #752)

New APIs:

  • Added RenderPlugins::codefence_renderers to register language-specific codefence renderers. (by @neilberkman in #751)
  • Added CodefenceRendererAdapter for language-specific codefence rendering. Its write method receives parsed codefence language and metadata (lang, meta) alongside code and source position. (by @neilberkman in #751)
  • Add ++insert++ extension and guillemet smart punctuation. (by @neilberkman in #754)
  • Add Typst formatter. (by @neilberkman in #763)
  • Add compact_html render option to suppress newlines in pretty-printing. (by @xvchris in #769)

Bug fixes:

Dependency updates:

  • Replace unicode_categories with finl_unicode for Unicode character categories. (by @Martin005 in #757)
  • Bump bon from 3.8.2 to 3.9.0. (by @dependabot[bot] in #759)
  • Bump clap from 4.5.54 to 4.5.60. (by @dependabot[bot] in #748, #756, #758, #766)
  • Bump strum from 0.27.2 to 0.28.0. (by @dependabot[bot] in #765)
  • Bump time from 0.3.36 to 0.3.47 in /fuzz. (by @dependabot[bot] in #744)
  • Bump toml from 0.9.10+spec-1.1.0 to 1.0.3+spec-1.1.0. (by @dependabot[bot] in #742, #760, #767)

Documentation:

  • Add alerts (admonitions) to README. (by @kritzelkrak in #761)
  • Explain column counting in LineColumn, and fix shortcode context link. (by @Martin005 in #764)

New Contributors

Diff: v0.50.0...v0.51.0