v0.51.0
新年快乐! :) 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_renderersto register language-specific codefence renderers. (by @neilberkman in #751) - Added
CodefenceRendererAdapterfor language-specific codefence rendering. Itswritemethod 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_htmlrender option to suppress newlines in pretty-printing. (by @xvchris in #769)
Bug fixes:
- Don't wrap text in table cells in CommonMark output. (by @cinerea0 in #737)
- Fix incorrect
sourceposfor inserted table cells. (by @Martin005 in #747) - Fix HEEx nested element edge cases. (by @leandrocp in #749)
- Fix off-by-one in hex entity digit limit. (by @neilberkman in #753)
Dependency updates:
- Replace
unicode_categorieswithfinl_unicodefor Unicode character categories. (by @Martin005 in #757) - Bump bon from
3.8.2to3.9.0. (by@dependabot[bot]in #759) - Bump clap from
4.5.54to4.5.60. (by@dependabot[bot]in #748, #756, #758, #766) - Bump strum from
0.27.2to0.28.0. (by@dependabot[bot]in #765) - Bump time from
0.3.36to0.3.47in/fuzz. (by@dependabot[bot]in #744) - Bump toml from
0.9.10+spec-1.1.0to1.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
- @cinerea0 made their first contribution in #737
- @JeanMertz made their first contribution in #743
- @neilberkman made their first contribution in #751
- @kritzelkrak made their first contribution in #761
- @xvchris made their first contribution in #769
Diff: v0.50.0...v0.51.0