diff options
author | Pavlo Kapyshin <i@93z.org> | 2016-03-18 10:25:23 +0200 |
---|---|---|
committer | Pavlo Kapyshin <i@93z.org> | 2016-03-18 10:28:22 +0200 |
commit | ec64e9ea899c3f40e26aec8bfc4a9b8941b91cdf (patch) | |
tree | e3b94e4fe4de517f930c193bcd9cf47839e2f455 /src/cmark.h | |
parent | c4eb6bc33d9639ce0840a5fa3cea173c2c816fd1 (diff) |
Add library option to render softbreaks as spaces
Diffstat (limited to 'src/cmark.h')
-rw-r--r-- | src/cmark.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h index 71c634b..7b7001e 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. + */ +#define CMARK_OPT_NOBREAKS (1 << 4) + /** * ### Options affecting parsing */ |