wok-current annotate sundown/stuff/sundown.options.patch @ rev 24269
updated perl-xml-rss (1.61 -> 1.62)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:37:59 2022 +0100 (2022-01-02) |
parents | |
children |
rev | line source |
---|---|
al@18770 | 1 Enable next extensions in the sundown example: |
al@18770 | 2 * tables |
al@18770 | 3 * fenced_code |
al@18770 | 4 * autolink |
al@18770 | 5 * strikethrough |
al@18770 | 6 * space_headers |
al@18770 | 7 * superscript |
al@18770 | 8 See `markdown.h` to calculate mkd_extensions value. |
al@18770 | 9 |
al@18770 | 10 --- a/examples/sundown.c |
al@18770 | 11 +++ b/examples/sundown.c |
al@18770 | 12 @@ -62,7 +62,7 @@ |
al@18770 | 13 ob = bufnew(OUTPUT_UNIT); |
al@18770 | 14 |
al@18770 | 15 sdhtml_renderer(&callbacks, &options, 0); |
al@18770 | 16 - markdown = sd_markdown_new(0, 16, &callbacks, &options); |
al@18770 | 17 + markdown = sd_markdown_new(222, 16, &callbacks, &options); |
al@18770 | 18 |
al@18770 | 19 sd_markdown_render(ob, ib->data, ib->size, markdown); |
al@18770 | 20 sd_markdown_free(markdown); |