wok-next
annotate sundown/stuff/patches/sundown.options.patch @ rev 21382
updated nbd (3.3 -> 3.20)
author |
Hans-G?nter Theisgen |
date |
Thu Apr 16 17:27:00 2020 +0100 (2020-04-16) |
parents |
61e23282014d |
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);
|