From a74295a1ea686611498a75dd45597d224ce99287 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 22 Dec 2015 22:07:38 -0800 Subject: Rename 'header' -> 'heading'. See jgm/CommonMark commit 0cdbcee4e840abd0ac7db93797b2b75ca4104314 Note that we have defined cmark_node_get_header_level = cmark_node_get_heading_level and cmark_node_set_header_level = camrk_node_set_heading_level for backwards compatibility in the API. --- src/commonmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commonmark.c') diff --git a/src/commonmark.c b/src/commonmark.c index 7dabbc3..57a8747 100644 --- a/src/commonmark.c +++ b/src/commonmark.c @@ -230,7 +230,7 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node, case CMARK_NODE_HEADER: if (entering) { - for (i = cmark_node_get_header_level(node); i > 0; i--) { + for (i = cmark_node_get_heading_level(node); i > 0; i--) { LIT("#"); } LIT(" "); -- cgit v1.2.3