Skip to content

Releases: g-plane/markup_fmt

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.

v0.3.0

02 Jan 07:44
v0.3.0
dfcfa20
Compare
Choose a tag to compare

Features

  • Added vBindSameNameShortHand option, so you can switch between the following two code styles for your Vue components:
<template>
  <div :title></div>
</template>

and

<template>
  <div :title="title"></div>
</template>

Fixes

  • Fixed formatting Vue v-slot as expressions. They should be formatted as patterns.
  • Fixed formatting expressions incorrectly in some cases, especially with Biome.

v0.2.6

05 Dec 09:19
v0.2.6
8a8c20f
Compare
Choose a tag to compare
v0.2.6

v0.2.5

05 Dec 09:15
v0.2.5
026e4de
Compare
Choose a tag to compare
v0.2.5

v0.2.4

05 Dec 08:54
v0.2.4
503ffcf
Compare
Choose a tag to compare
v0.2.4

v0.2.3

05 Dec 08:48
v0.2.3
27c9b23
Compare
Choose a tag to compare
v0.2.3

v0.2.2

05 Dec 08:45
v0.2.2
2f99bd7
Compare
Choose a tag to compare
v0.2.2

v0.2.1

11 Nov 15:01
v0.2.1
4a6fead
Compare
Choose a tag to compare

Fixes

  • Fixed duplicated space when max_attrs_per_line set in self-closing tag. (fix #2)

v0.2.0

03 Nov 08:28
v0.2.0
70d10d4
Compare
Choose a tag to compare

Features

Fixes

  • Fixed formatting comments.
  • Fixed dprint config schema.

v0.1.1

01 Nov 10:18
v0.1.1
d88a3a0
Compare
Choose a tag to compare
  • Fixed indentation of code in <script> and <style> tag.
  • Fixed trailing spaces.