Skip to content

v2.47.0

Choose a tag to compare

@jolars jolars released this 17 May 18:29
· 334 commits to main since this release
9a4ec88

Features

  • linter: add footnote-ref-in-footnote-def rule (5976e68), closes #290
  • linter: add heading-eaten-attrs + heading-strip-comments-residue (966135d), closes #288
  • formatter: trim trailing blanklines in fenced divs (6d2fe6c)
  • formatter: add {lang} and {ext} placeholders (b00c479)
  • formatter: add "" as configurable external formatter (31c0bcb), closes #287
  • linter: add crossref-as-link-target rule (c2e649c), closes #285
  • cli: revert --line-width etc, add --option/-o (cd49506)
  • remove unused blank-lines option (c23da16)
  • cli: add line width, wrap, and blankline to format (2f3e593)
  • cli: add and honor PANACHE_CACHE_HOME env variable (96d3cd6)

Bug Fixes

  • parser: treat footnote refs inside footnote-def bodies as text (1f37425), ref #290
  • formatter: reflow BRACKETED_SPAN content (0aac341), closes #291
  • parser: lift bq + multi-line <div> open + same-line close (259241a)
  • parser: lift multi-line <div> open + same-line close (61e1df1)
  • parser: widen <div> lift for depth-aware and unclosed shapes (c7e4830)
  • parser: lift same-line HTML block with trailing text (add805e)
  • formatter: collapse blank lines inside fenced divs (eb52b1e), fixes #286
  • parser: lift list-item Comment/PI trailing-text split (50b4b45)
  • parser: demote indented isInlineTag to RawInline (c0cf92b)
  • projector: strip RawBlock first-line indent (926096e)
  • parser: bq-wrapped HTML comment/PI trailing split (af26bdd)
  • parser: split Pandoc HTML comment / PI trailing-text (3171eae)
  • parser: strip list-item indent for HTML-block lift (f19ec57)
  • parser: lift multi-line HTML blocks as list-item (faf5c85)
  • parser: lift same-line HTML block as sole list-item content (cb0a2c1)
  • parser: route indented HTML close-tag bytes (82bc43d)
  • parser: keep HTML_BLOCK on standalone close form (fe1cd9c)
  • parser: lift mutliline html tags with trailing bytes (ea463f3)
  • parser: structurally lift multi-line HTML opens (5d65a02)
  • parser: avoid HTML_BLOCK_DIV panic on multi-line div (5613174)
  • parser: let blockquotes close lists properly (88ca2c2), closes #292
  • parser: handle :-captions directly before ::: (2f6a3ca)

Dependencies

  • updated crates/panache-formatter to v0.6.0
  • updated crates/panache-parser to v0.10.0