Skip to content

v3.17.0

Choose a tag to compare

@jolars jolars released this 18 Oct 17:42
· 28 commits to main since this release
d30874f

Highlights

Hugo Support

Hugo is now supported as a flavor, and can be selected with the following configuration line:

flavor = "hugo"

Supported features are still minimal, but this will be expanded in future releases. Thanks to @umweltinfo for the suggestion and for testing this out.

Linter Preset Configuration

Linter presets are now configurable via a [linters.<linter-name>] table in the configuration. For example:

[linters]
r = "arity"

[linters.arity]
append-args = ["--ignore", "undefined-symbol"]

Features

  • lint: warn on unclosed HTML attributes (2aa27d9), closes #464
  • add Hugo flavor and syntax preservation (#570) (7247d79), closes #558

Bug Fixes

  • preserve definition bodies when formatting (4e95495), fixes #576
  • parser: preserve definition HTML indentation (12c77b0), fixes #577
  • formatter: normalize unnumbered headings (4fe2f30), closes #463
  • linter: reuse project tool configuration (8350961), fixes #569
  • parser: start HTML blocks after list markers (598fd82), fixes #559
  • parser: require paragraph context for lazy list lines (a39a6e7), fixes #561
  • parser: retain blocks after empty list markers (f6d117b), fixes #560
  • parser: close lists after HTML blocks (fc6fb2b)
  • parser: detect HTML blocks at a nested list item's content column (#566) (d271057)
  • parser: close lists before following blockquotes (0b852ef), fixes #562
  • parser: require start 1 for interrupting sublists (2592b04), fixes #563
  • parser: read a backslash before CRLF as a hard line break (d0e255d)

Dependencies

  • updated crates/panache-formatter to v0.28.0
  • updated crates/panache-parser to v0.34.0