wok diff sundown/stuff/sundown.options.patch @ rev 20152
Up miniupnp (2.0.20171212), fix get-rar url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 18 11:31:21 2017 +0100 (2017-12-18) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sundown/stuff/sundown.options.patch Mon Dec 18 11:31:21 2017 +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);