- Commit
- 903f3ca65d186f660ac934d228034c4f3b993f2f
- Parent
- d6077ea037e23f6e2c0d83dda7b5d7106f48d1a3
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
print: print fenced and fence_length for code blocks.
My personal build of CMark ✏️
print: print fenced and fence_length for code blocks.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/print.c | 2 | 1 | 1 |
diff --git 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, ' ');