showdown
showdown copied to clipboard
Feature: option to word-wrap generated markdown text
Hi,
Since the whole point of storing the layout in markdown is human readability, it would be great to be able to control the output formatting, and mainly line-wrapping in normal text.
I would suggest an option: lineWrapText with the following values:
-
undefinedor0-- line-wrapping disabled, default, -
true-- line-wrapping on defaulting to 72 chars per line, - number (>0) -- wrap lines to this width in chars.
Note: would also be logical to line-wrap (to the same value) the text in HTML output to make it more readable, but this is less critical.
Thanks!