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

Add hardLineBreaks option #98

Closed
Tracked by #120
Witiko opened this issue Aug 29, 2021 · 1 comment
Closed
Tracked by #120

Add hardLineBreaks option #98

Witiko opened this issue Aug 29, 2021 · 1 comment
Labels
feature request lua Related to the Lua interface and implementation syntax extension Related to syntax extensions and dialects of markdown
Milestone

Comments

@Witiko
Copy link
Owner

Witiko commented Aug 29, 2021

When filling the input buffer, TeX removes trailing spaces from the input lines, which prohibits us from detecting line breaks when using markdown in a TeX document (although we can work around this in ConTeXt, see #101). By adding Pandoc's hard_line_breaks syntax extension, we can give users a way to input line breaks even from within TeX documents.

@Witiko Witiko added feature request latex Related to the LaTeX interface and implementation labels Aug 29, 2021
@Witiko Witiko added this to the 2.11.0 milestone Aug 29, 2021
@Witiko Witiko added lua Related to the Lua interface and implementation syntax extension Related to syntax extensions and dialects of markdown and removed latex Related to the LaTeX interface and implementation labels Aug 29, 2021
@Witiko Witiko modified the milestones: 2.11.0, 2.12.0 Oct 1, 2021
@Witiko
Copy link
Owner Author

Witiko commented Nov 23, 2021

This feature is now being tested in this private Overleaf document. Note that the current implementation seems to convert text\ntext to text\markdownRendererLineBreak text, but text \ntext to text text. Apparently, there are some interactions between the parsers; future unit tests should focus on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request lua Related to the Lua interface and implementation syntax extension Related to syntax extensions and dialects of markdown
Projects
None yet
Development

No branches or pull requests

1 participant