astrale-sharp / typstfmt

Apache License 2.0
253 stars 25 forks source link

Breaks long headings #87

Closed iamkroot closed 1 year ago

iamkroot commented 1 year ago

For headings that exceed the line length limit, the tool currently splits them into multiple lines. But this is incorrect behaviour, since now the heading is truncated during rendering (it does not continue after a newline)

before formatting: source: before formatting

rendered: rendered

after formatting: source: after formatting

rendered: rendered

astrale-sharp commented 1 year ago

Thanks for reporting!

astrale-sharp commented 1 year ago

This is fixed on master!