Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-19 | Accessors for string content of code and HTML blocks | Nick Wellnhofer | |
2014-11-19 | Rename {get|set}_content to {get|set}_string_content | Nick Wellnhofer | |
2014-11-18 | Add node constructor and accessors to the public API | Nick Wellnhofer | |
The approach I'm taking is to copy inline literals internally to NULL-terminated C strings if requested by an accessor. This allows to return a 'const char *' that doesn't have to be freed by the caller. | |||
2014-11-18 | Improve output of tree integrity check | Nick Wellnhofer | |
2014-11-17 | Make parse_inlines add directly to parent. | John MacFarlane | |
Previously parse_inlines returned a list of parsed inlines. This had to be added to the parent, and fix_parents had to be called to manually add the 'parent' links to the children, and the 'last_child' link to the parent. Now parse_inlines takes the parent block as a parameter, and uses cmark_node_append_child to add the children, so that the pointers should be properly managed. This avoids the need for the fix_parents pass. | |||
2014-11-17 | Store link labels as children in tree structure | Nick Wellnhofer | |
2014-11-17 | Set prev, parent and last_child for inlines | Nick Wellnhofer | |
2014-11-17 | Move cmark_free_nodes to node.c | Nick Wellnhofer | |
2014-11-17 | Start with unified nodes | Nick Wellnhofer | |