You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support a wrap width value of None that explicitly indicates no width limit (unlimited line length) #168
Currently we use a large numerical wrap_width value to collapse newlines inside paragraphs:
frommarkdownifyimportmarkdownifyasmdhtml="<p>"+"\n".join(["This is some text."] *10) +"</p>"print(md(html, wrap=True, wrap_width=1e8))
# ^^^^^^^^^^^^^^
However, when processing large amounts of content in batch processing (which we do), there is a runtime penalty for running all text through the wrapping code.
It would be great if wrap_width supported an explicit value of None to reflow text with no width limit:
Activity