cmark

My personal build of CMark ✏️

Commit
2791ffabfc7da2e19e6c5486070ebff20e9ac9df
Parent
951111c353c5eabe6c855f0a78362512d4d20d18
Author
John MacFarlane <jgm@berkeley.edu>
Date

commonmark - use * for bullet list to avoid clash with setext header.

E.g. with a paragraph followed immediately by a list item with no content.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/commonmark.c 2 1 1
diff --git a/src/commonmark.c b/src/commonmark.c
@@ -312,7 +312,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
 		if (entering) {
 			if (cmark_node_get_list_type(node->parent) ==
 			    CMARK_BULLET_LIST) {
-				lit(state, "- ", false);
+				lit(state, "* ", false);
 				cmark_strbuf_puts(state->prefix, "  ");
 			} else {
 				lit(state, listmarker, false);