Skip to content

Releases: g-plane/markup_fmt

v0.9.0

05 Jun 15:09
v0.9.0
28da3ac
Compare
Choose a tag to compare

Features

Fixes

  • Fixed unquoted attribute interpolation in Jinja and Vento.

v0.8.0

08 May 15:00
v0.8.0
e1a70ee
Compare
Choose a tag to compare

Features

  • Added detailed source location in syntax error message.
  • Optimized formatting text as one line as possible for better readability.

Fixes

  • Fixed empty <script> and <style> tag.
  • Fixed quotes in Vue directives with nested quotes.
  • Fixed error message when formatting with external formatter.
  • Fixed HTML quotes escaping in Vue directives.
  • Fixed quotes in Vento attributes.

v0.7.0

02 Apr 08:43
v0.7.0
66ccd12
Compare
Choose a tag to compare

Features

  • Added Nunjucks support.
  • Added Vento support.

Fixes

  • Fixed padding Jinja tags. (Close #13)
  • Fixed nested Jinja tags. (Close #14)

v0.6.0

02 Mar 03:06
v0.6.0
553f360
Compare
Choose a tag to compare

Features

  • Added preferAttrsSingleLine option. If enabled, attributes will be put on a single line as possible. Disabled by default.

v0.5.1

20 Feb 15:51
v0.5.1
41781ec
Compare
Choose a tag to compare

Fixes

  • Fixed Astro front matter edge detection. (fix #9)

v0.5.0

19 Feb 09:53
v0.5.0
77f518b
Compare
Choose a tag to compare

Features

  • Added support for detecting JSON in <script> tag whose "type" is "importmap" or "application/json".

Fixes

  • Fixed parsing and formatting nested template in Astro expressions.
  • Fixed language in Astro <script>. (It should be TypeScript by default.)
  • Fixed line comments in Astro expressions.

v0.4.1

18 Feb 08:55
v0.4.1
ac66252
Compare
Choose a tag to compare

Fixes

  • Added missing items in config schema for new options added in v0.4.0.

v0.4.0

18 Feb 08:17
v0.4.0
18a8fd7
Compare
Choose a tag to compare

Features

  • Added Astro support.

v0.3.2

19 Jan 08:56
v0.3.2
9dfbe3b
Compare
Choose a tag to compare

Fixes

  • Fixed parsing Svelte attribute with } char.

v0.3.1

03 Jan 02:19
v0.3.1
64cfecf
Compare
Choose a tag to compare

Fixes

  • Fixed unexpected let e = when formatting expressions.
  • Added printing original code if external formatter raised an error.