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

Backslash at the end of line should add linebreak #1038

Open
vills opened this issue Sep 3, 2024 · 4 comments
Open

Backslash at the end of line should add linebreak #1038

vills opened this issue Sep 3, 2024 · 4 comments
Labels
third-party-extension Relates to a third-party Sphinx extension

Comments

@vills
Copy link

vills commented Sep 3, 2024

No linebreaks added in case of backslash at the end of line. For example,

line1 \
line2 \
line3

should be rendered as separate lines within same paragraph (like shift+enter in confluence editor). But it is not.

HTML generated with sphinx from same source have added <br> between lines.

Could you please fix it?

@jdknight
Copy link
Member

jdknight commented Sep 3, 2024

Out of curiosity, are you using reStructuredText, MyST Markdown or some other variant?

@vills
Copy link
Author

vills commented Sep 4, 2024

Sure. I use MyST markdown variant.

@jdknight
Copy link
Member

jdknight commented Sep 5, 2024

A proposed change to address this can be found in executablebooks/MyST-Parser#948.

@jdknight jdknight added the third-party-extension Relates to a third-party Sphinx extension label Sep 5, 2024
@vills
Copy link
Author

vills commented Sep 5, 2024

Oh. I see. Thanks a lot. Your comment in related issue #879 (comment) explains everything ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
third-party-extension Relates to a third-party Sphinx extension
Projects
None yet
Development

No branches or pull requests

2 participants