Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

code block inside content block #141

Open
1 task done
8LWXpg opened this issue Jan 7, 2024 · 1 comment
Open
1 task done

code block inside content block #141

8LWXpg opened this issue Jan 7, 2024 · 1 comment

Comments

@8LWXpg
Copy link

8LWXpg commented Jan 7, 2024

  • 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;
  }\]
@astrale-sharp
Copy link
Owner

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants