diff options
Diffstat (limited to 'src/node.h')
| -rw-r--r-- | src/node.h | 10 | 
1 files changed, 8 insertions, 2 deletions
@@ -35,13 +35,18 @@ typedef struct {  typedef struct {    int level;    bool setext; -} cmark_header; +} cmark_heading;  typedef struct {    cmark_chunk url;    cmark_chunk title;  } cmark_link; +typedef struct { +  cmark_chunk on_enter; +  cmark_chunk on_exit; +} cmark_custom; +  struct cmark_node {    struct cmark_node *next;    struct cmark_node *prev; @@ -67,8 +72,9 @@ struct cmark_node {      cmark_chunk literal;      cmark_list list;      cmark_code code; -    cmark_header header; +    cmark_heading heading;      cmark_link link; +    cmark_custom custom;      int html_block_type;    } as;  };  | 
