summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-04-09 11:35:58 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-04-09 11:35:58 -0700
commit0b6805c0c544cfd8973f457142434127cac4b3a5 (patch)
tree96230667623ca308fe74cd51970b9d808233a564 /src/cmark.h
parent6e8c3f6148ec586fd4cc5c89c644422dd6ec33d5 (diff)
parentbb7289750b93e20f760fb94fd04931b651e5ce3e (diff)
Merge pull request #111 from PavloKapyshin/master
Add library option to render softbreaks as spaces
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 3c5d6b6..c98e18e 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -519,6 +519,10 @@ char *cmark_render_latex(cmark_node *root, int options, int width);
*/
#define CMARK_OPT_SAFE (1 << 3)
+/** Render `softbreak` elements as spaces (HTML only).
+ */
+#define CMARK_OPT_NOBREAKS (1 << 4)
+
/**
* ### Options affecting parsing
*/