astrale-sharp / typstfmt

Apache License 2.0
253 stars 25 forks source link

code block inside content block #141

Open 8LWXpg opened 10 months ago

8LWXpg commented 10 months ago

when formatting code block inside content block, it inserts one more indent after the block and trimmed the space after backslash.

Target:

#[#{
  let something = 0;
}\ ]

Result:

#[#{
    let something = 0;
  }\]
astrale-sharp commented 10 months ago

Can confirm! It indeed needs fixing, I've been less invested in typstfmt these last months so I don't know for sure when I'll get around to it!