You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
#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
```)
]
The text was updated successfully, but these errors were encountered:
drupol
changed the title
Invalid indentation when using it in
Unstable indentation calcultation
Oct 31, 2023
format_content_blocks adds an indent to everything inside a content block and since it still valid spaces for the raw block, it "absorbs" them.
A temporary solution could be to disable indenting inside markup blocks (possibly only if it contains raw text!
I went ahead and implemented this temporary solution here 6974e5d, ideally, the program could be smart enough to only indent where there is no raw text
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
When running
typstfmt
on this snippet:the resulting output is:
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:
The text was updated successfully, but these errors were encountered: