Skip to content

Releases: g-plane/markup_fmt

v0.20.0

04 May 13:09
v0.20.0
91d900b
Compare
Choose a tag to compare

Features

Fixes

  • Fixed Jinja whitespace control modifiers.

v0.19.1

05 Apr 09:00
v0.19.1
cbba785
Compare
Choose a tag to compare

Fixes

  • Fixed Unicode in tag name. (fix #108)
  • Fixed @default position of Angular. (fix #110)
  • Fixed other blocks after Angular @for. (fix #109)
  • Fixed Angular @for with multiple lets. (fix #109)

v0.19.0

28 Feb 07:04
v0.19.0
70859b4
Compare
Choose a tag to compare

Features

  • Optimized quotes of attribute value in Jinja.
  • Avoid multiline opening tag for single attribute.
  • Always print end tag in single line.
  • Added .j2 extension for Jinja.
  • Allow "postcss" as style lang.

Fixes

  • Fixed Jinja set assignment.
  • Removed special case of <label> tag.
  • Fixed Jinja interpolation in tag name.
  • Fixed parsing Jinja comments in HTML tag.
  • Fixed formatting expression with semicolon in Vue.

v0.18.0

02 Dec 13:34
v0.18.0
3e134bd
Compare
Choose a tag to compare

Features

  • Apply special indentation logic for dprint, and introduce new scriptFormatter option.
  • Added support of quoteStyle option of Biome.

Fixes

  • Format Svelte snippet block as function declaration.

API Changes

  • Type of Hints::indent_level was changed from usize to u16.

v0.17.0

28 Nov 15:06
v0.17.0
97f063c
Compare
Choose a tag to compare

Features

  • Expose indent level. (only for Rust users)

Fixes

  • Fixed URL in comments inside front matter.

v0.16.0

20 Nov 15:23
v0.16.0
0a8c1d7
Compare
Choose a tag to compare

Features

  • Add line breaks in class attr accordingly.

Fixes

  • Fixed Svelte 5 snippet block.
  • Fixed Angular control after @for.

v0.15.1

01 Nov 00:44
v0.15.1
609b755
Compare
Choose a tag to compare

Fixes

  • Fixed formatting Vue v-bind.modifier.

v0.15.0

30 Oct 14:22
v0.15.0
8f9baea
Compare
Choose a tag to compare

Features

  • Added support of Svelte 5 snippet blocks.

Fixes

  • Fixed script contains template nested interpolation.
  • Fixed incorrect non-strict Svelte attributes.
  • Fixed wrapping style attributes.
  • Fixed nested <pre>.

v0.14.0

21 Oct 14:34
v0.14.0
48c2604
Compare
Choose a tag to compare

Features

  • Added support of Vento "trim previous" syntax.
  • Added support of JSON-LD in <script> tag.
  • Added ignoreFileCommentDirective option.
  • Added support of Vento "trim next" syntax.

Fixes

  • Fixed multiple statements in Vue directives.
  • Fixed whitespaces in Svelte block end.

v0.13.1

26 Sep 00:38
v0.13.1
1a085b4
Compare
Choose a tag to compare

Features

  • Updated error message.