wok diff sundown/stuff/sundown.options.patch @ rev 19598
Up: libcrypto (1.0.2j)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 01 18:08:49 2017 +0000 (2017-01-01) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sundown/stuff/sundown.options.patch Sun Jan 01 18:08:49 2017 +0000 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);