| 470 | } |
| 471 | |
| 472 | int cmark_node_set_list_tight(cmark_node *node, int tight) { |
| 473 | if (node == NULL) { |
| 474 | return 0; |
| 475 | } |
| 476 | |
| 477 | if (node->type == CMARK_NODE_LIST) { |
| 478 | node->as.list.tight = tight == 1; |
| 479 | return 1; |
| 480 | } else { |
| 481 | return 0; |
| 482 | } |
| 483 | } |
| 484 | |
| 485 | const char *cmark_node_get_fence_info(cmark_node *node) { |
| 486 | if (node == NULL) { |