Add hard wrap to markdown

This commit is contained in:
cuom1999 2022-07-30 12:03:56 +07:00
parent c9f8fbe098
commit 3c6108298c
2 changed files with 2 additions and 1 deletions

View file

@ -155,6 +155,7 @@ def markdown(value, style, math_engine=None, lazy_load=False):
inline=AwesomeInlineLexer,
parse_block_html=1,
parse_inline_html=1,
hard_wrap=True,
)
result = markdown(value)
if post_processors: