LegNeato / mdbook-typst

An mdBook backend to output Typst markup, pdf, png, or svg
51 stars 3 forks source link

Line break should be `\` not `#parbreak()` #11

Open cittadhammo opened 1 week ago

cittadhammo commented 1 week ago

In a Markdown document, double space after a line means line break. At the moment, this is transformed into #parbreak().

The solution is to replace it by \

https://stackoverflow.com/questions/35177253/why-markdown-syntax-requires-two-spaces-before-n-to-make-a-paragraph-out-of-it