typstfmt
typstfmt copied to clipboard
Unstable indentation calcultation
Hello,
When running typstfmt
on this snippet:
#focus-slide[
#fit-to-height(3em)[Introduction]
#pdfpc.speaker-note(```
Let's start the introduction with a quote from Foo Bar
```)
]
the resulting output is:
#focus-slide[
#fit-to-height(3em)[Introduction]
#pdfpc.speaker-note(```
Let's start the introduction with a quote from Ken Thompson
```)
]
I believe that there's an issue in the #pdfpc.speaker-note
handling.
Also, when running multiple times the formatter on that example, the indentation never stops growing, after a couple of times, it become:
#focus-slide[
#fit-to-height(3em)[Introduction]
#pdfpc.speaker-note(```
Let's start the introduction with a quote from Ken Thompson
```)
]