summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-16 11:51:58 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-16 11:51:58 -0800
commit903f3ca65d186f660ac934d228034c4f3b993f2f (patch)
treef4d633645d42ae7fc08bb874f4298d3be83aa25f /src
parentd6077ea037e23f6e2c0d83dda7b5d7106f48d1a3 (diff)
print: print fenced and fence_length for code blocks.
Diffstat (limited to 'src')
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index cad1c1d..a4654f2 100644
--- a/src/print.c
+++ b/src/print.c
@@ -77,7 +77,7 @@ static void render_nodes(cmark_strbuf* buffer, cmark_node* node, int indent)
cmark_strbuf_printf(buffer, "hrule\n");
break;
case NODE_CODE_BLOCK:
- cmark_strbuf_printf(buffer, "code_block info=");
+ cmark_strbuf_printf(buffer, "code_block fenced=%d fence_length=%d info=", node->as.code.fenced, node->as.code.fence_length);
print_str(buffer, node->as.code.info.data,
node->as.code.info.len);
cmark_strbuf_putc(buffer, ' ');