Skip to content

v0.7.1

Choose a tag to compare

@OCharnyshevich OCharnyshevich released this 04 Jul 19:02
ddfc4b1

Changed

  • fmt shortcode-indent pass now re-indents closing shortcode tags inside list items to the list-continuation column. When a shortcode opens inline in a list item (e.g. 1. {{< details "X" >}}), the closing {{< /details >}} is indented to the marker's content column (3 spaces for 1. , 2 for - ) instead of being left at column 0 or whatever stray indent the author wrote. The pass tracks inline block-openers on a stack so multiple sequential list items each get their closer fixed independently. Already-correct indentation is unchanged (idempotent).