wok diff sundown/stuff/sundown.options.patch @ rev 19980

Up kriss_feed (8.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 15 08:14:05 2017 +0200 (2017-06-15)
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 Jun 15 08:14:05 2017 +0200
     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);