Skip to content
Discussion options

You must be logged in to vote

Hello @xihajun,
you could add 2 empty spaces at the end of some texts or maybe try the nl2br extension, but I never tried it, so perhaps it's not what you want or it might lead to bad side effects. Also the Python-Markdown syntax isn't fully compatible with the processor used in GitHub.

https://python-markdown.github.io/extensions/nl2br/
https://github.com/Python-Markdown/markdown/blob/master/markdown/extensions/nl2br.py

markdown_extensions:
  - nl2br

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@xihajun
Comment options

@squidfunk
Comment options

Answer selected by xihajun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants