Open Doublonmousse opened 7 months ago
Hey there! very interesting, we might try to find a fix but honestly if text//
parses, there is no reason *text*//
shouldn't, So I consider this a typst parser bug, might open a PR tomorrow or today ;)
Apparently it's a feature! https://github.com/typst/typst/issues/3735#issuecomment-2009776984 Then we need to respect this!
It's weird formatting anyway cause start *text* //
is prettier anyway
[x] I have tested with the master version of typstfmt and not just typst-lsp
Describe the bug Formatting with comments and bold end up creating
*//
symbols that are not correct typst codeTo Reproduce Format the following file
and obtain
that won't compile because of the
*//