all repos — grayfriday @ 68a3c498f623a18459ca99b842968ece23ee49fd

blackfriday fork with a few changes

Add EXTENSION_BACKSLASH_LINE_BREAK
neclepsio neclepsio@gmail.com
Wed, 22 Apr 2015 14:10:44 +0200
commit

68a3c498f623a18459ca99b842968ece23ee49fd

parent

c1917970db871797b7fad54faa69fd76fd69bae3

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M markdown.gomarkdown.go

@@ -42,6 +42,7 @@ EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK // No need to insert an empty line to start a (code, quote, order list, unorder list)block

EXTENSION_HEADER_IDS // specify header IDs with {#id} EXTENSION_TITLEBLOCK // Titleblock ala pandoc EXTENSION_AUTO_HEADER_IDS // Create the header ID from the text + EXTENSION_BACKSLASH_LINE_BREAK // translate trailing backslashes into line breaks commonHtmlFlags = 0 | HTML_USE_XHTML |

@@ -56,7 +57,8 @@ EXTENSION_FENCED_CODE |

EXTENSION_AUTOLINK | EXTENSION_STRIKETHROUGH | EXTENSION_SPACE_HEADERS | - EXTENSION_HEADER_IDS + EXTENSION_HEADER_IDS | + EXTENSION_BACKSLASH_LINE_BREAK ) // These are the possible flag values for the link renderer.