GFM: Line break using a backslash
ArthaTi opened this issue · comments
The GFM spec specifies that to make a line break, a backslash can be used so it is more visible. It also better because some editors automatically remove trailing whitespace.
The GithubMarkdown
class doesn't support those. Only double-space breaks are allowed. It would be really nice if that feature would be added.
I tried doing this myself, but renderText
receives line text and the backslash as separate blocks, so I kinda failed there. Also, what would be the preferred way to do this? Is changing the escape code parser necessary?
The
GithubMarkdown
class doesn't support those. Only double-space breaks are allowed. It would be really nice if that feature would be added.
seems it is a newly added feature.
\
is a marker for theparseEscape
function, so extending it should allow implementing this:
Lines 368 to 378 in eeb1bf6
have not checked it in detail though.