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

Missing newline from doc #914

Open
mrx23dot opened this issue Apr 22, 2024 · 6 comments
Open

Missing newline from doc #914

mrx23dot opened this issue Apr 22, 2024 · 6 comments
Labels
documentation Improvements or additions to documentation

Comments

@mrx23dot
Copy link

mrx23dot commented Apr 22, 2024

Describe the gap in the current documentation

Doc doesn't say how to add newline
https://myst-parser.readthedocs.io/en/latest/search.html?q=newline

Adding backslash didn't work

##subtitle
* entry
* entry
\
\
\
* entry
* entry

adding HTML also didn't work
<br>

not sure what should work.

Describe the solution you'd like

No response

@mrx23dot mrx23dot added the documentation Improvements or additions to documentation label Apr 22, 2024
Copy link

welcome bot commented Apr 22, 2024

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

@mrx23dot mrx23dot changed the title Missing newline doc Missing newline from doc Apr 22, 2024
@chrisjsewell
Copy link
Member

@mrx23dot
Copy link
Author

## COMMON_STEPS
* test 1
\
\
\
* test 2
* test 3

produces
image

<li><p>test 1
<br />
<br />
\</p></li>
<li><p>test 2</p></li>
<li><p>test 3</p></li>

not 3 line breaks

@chrisjsewell
Copy link
Member

chrisjsewell commented Apr 23, 2024

@mrx23dot
Copy link
Author

Fare enough, thanks

@mrx23dot
Copy link
Author

mrx23dot commented Nov 22, 2024

I'm trying to put an empty line between list items, but none of these work

* itemA BACKSLASH_HERE

* itemB

* itemA
<br>

* itemB

* itemA
<br />

* itemB

* itemA
$~$

* itemB

* itemA
&NewLine;

* itemB

* itemA
&nbsp;

* itemB

* itemA


* itemB

I still see items next to each other, without empty line

  • itemA
  • itemB

standard modes via
https://stackoverflow.com/questions/20543454/create-two-blank-lines-in-markdown

\ works with non-list paragraphs.

Why not just use an unambiguous expression that always replaced with HTML break to make life easier.

@mrx23dot mrx23dot reopened this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants