Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF Preview: collapse whitespace surrounding Notes/Boneyards #111

Open
HughxDev opened this issue Jan 31, 2021 · 2 comments
Open

PDF Preview: collapse whitespace surrounding Notes/Boneyards #111

HughxDev opened this issue Jan 31, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@HughxDev
Copy link

HughxDev commented Jan 31, 2021

If you comment out text and separate it with line breaks so it looks neat in the source view, the preview will output extra whitespace for all of the line breaks.

Screenshot

@piersdeseilligny piersdeseilligny added the bug Something isn't working label Jan 31, 2021
@kpozin
Copy link

kpozin commented Feb 6, 2021

This actually inserts one blank line for every line of a multiline note. For example,

Some action!

[[This.
Is.
A.
Note.]]

Another action.

is previewed as

Some action!






Another action.

@piersdeseilligny
Copy link
Owner

piersdeseilligny commented Feb 6, 2021

Thanks for reporting this! it's related to #79

That said, fixing this is not extremely high priority, because it works correctly in the PDF, and I'm currently developing a completely revamped parser (as part of the standalone branch) which will be written in a way more elegant and maintainable way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants