typstfmt icon indicating copy to clipboard operation
typstfmt copied to clipboard

code block inside content block

Open 8LWXpg opened this issue 1 year ago • 1 comments

  • [x] I have tested with the master version of typstfmt and not just typst-lsp

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;
  }\]

8LWXpg avatar Jan 07 '24 05:01 8LWXpg