wok diff sundown/stuff/sundown.options.patch @ rev 20993
gpicview: modified TARBALL
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 07 17:13:01 2019 +0100 (2019-03-07) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sundown/stuff/sundown.options.patch Thu Mar 07 17:13:01 2019 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +Enable next extensions in the sundown example: 1.5 + * tables 1.6 + * fenced_code 1.7 + * autolink 1.8 + * strikethrough 1.9 + * space_headers 1.10 + * superscript 1.11 +See `markdown.h` to calculate mkd_extensions value. 1.12 + 1.13 +--- a/examples/sundown.c 1.14 ++++ b/examples/sundown.c 1.15 +@@ -62,7 +62,7 @@ 1.16 + ob = bufnew(OUTPUT_UNIT); 1.17 + 1.18 + sdhtml_renderer(&callbacks, &options, 0); 1.19 +- markdown = sd_markdown_new(0, 16, &callbacks, &options); 1.20 ++ markdown = sd_markdown_new(222, 16, &callbacks, &options); 1.21 + 1.22 + sd_markdown_render(ob, ib->data, ib->size, markdown); 1.23 + sd_markdown_free(markdown);