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

Preserving empty paragraphs #4540

Closed
Lord-Evil opened this issue Apr 8, 2018 · 6 comments
Closed

Preserving empty paragraphs #4540

Lord-Evil opened this issue Apr 8, 2018 · 6 comments

Comments

@Lord-Evil
Copy link

What am I doing wrong? Can't get it to work..
pandoc 2.1.3
Compiled with pandoc-types 1.17.4.2, texmath 0.10.1.1, skylighting 0.7.0.2
image

@jgm
Copy link
Owner

jgm commented Apr 8, 2018

The empty_paragraphs extension affects markdown but not gfm (currently).
Btw, please don't ask questions here. Ask them on pandoc-discuss, as requested in CONTRIBUTING.md.

@jgm jgm closed this as completed Apr 8, 2018
@Lord-Evil
Copy link
Author

@jgm Well, it doesn't work for markdown as well, so it must be a bug.
image

@jgm
Copy link
Owner

jgm commented Apr 16, 2018

Maybe it's a documentation bug. I don't think it was ever intended to work with markdown output, because there's no way to represent an empty paragraph in markdown.

@jgm jgm reopened this Apr 16, 2018
@jgm jgm closed this as completed in 939985e Apr 16, 2018
@Lord-Evil
Copy link
Author

Lord-Evil commented Apr 17, 2018

Actually, there is way to represent it
image
Replace empty paragraphs with   or actual \xc2 byte.

If only that was an option with +empty_paragraphs ...

@jgm
Copy link
Owner

jgm commented Apr 17, 2018 via email

@Lord-Evil
Copy link
Author

Can this be implemented in next version? Parameter that can replace empty paragraph with user defined string?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants