-
Notifications
You must be signed in to change notification settings - Fork 125
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
Markdown line breaks not working in lists #646
Comments
Ah, it seems the training |
Yes, it's unfortunate that Markdown has so many variations and dialects. Nowadays, there's MyST which is a superset of CommonMark with an emphasis on features for scientific writing which would be quite nice to use. In principle we could swap out the markdown library for another one that supported other dialect(s), and this might also improve performance, but I wouldn't want to break existing projects, so it would have to be optional. We also have some custom plugins to add some functionality that would need porting, which is another challenge |
I have a list in my documentation page, and I want to insert a line break in some of the list items.
Usually in markdown I would use a trailing
\
(works in GitHub, GitLab and more generally elsewhere).However, when the html is created with FORD there is no line break and instead the '' appears as part of the rendered text.
As a workaround I have to resort to using a
<br>
instead which is less 'markdownthonic'.If the
<br>
didn't work either I'd guess the inputs were getting sanitised somewhere to cause this, but I'm not sure why it happens.It'd be a 'nice to have' functionality.
My specific example with
<br>
where I'd prefer to use\
:The text was updated successfully, but these errors were encountered: