Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-27 | Use clang-format, llvm style, for formatting. | John MacFarlane | |
* Reformatted all source files. * Added 'format' target to Makefile. * Removed 'astyle' target. * Updated .editorconfig. | |||
2015-07-10 | Updates for new HTML block spec. | John MacFarlane | |
* Rewrote spec for HTML blocks. A few other spec examples also changed as a result. * Removed old `html_block_tag` scanner. Added new `html_block_start` and `html_block_start_7`, as well as `html_block_end_n` for n = 1-5. * Rewrote block parser for new HTML block spec. | |||
2015-05-14 | Store link URL and title as cmark_chunk | Nick Wellnhofer | |
2015-02-18 | Packed cmark_node struct to fit into 128 bytes. | John MacFarlane | |
This gives a small performance boost (0.37 to 0.36). | |||
2015-01-20 | Add user data field for nodes | Nick Wellnhofer | |
2014-12-28 | Added end_column to cmark_node struct. | John MacFarlane | |
API exports cmark_node_get_column. XML writer indicates start and end line and column for block-level nodes. | |||
2014-12-28 | Rename cmark_node_type_string -> cmark_node_get_type_string. | John MacFarlane | |
And export in cmark.h public header. Also, use lowercase names, not uppercase. | |||
2014-12-28 | Expose cmark_node_type_string in node.h (private header). | John MacFarlane | |
Previously was static function S_type_string. | |||
2014-12-16 | Added 'literal' field to 'code' struct. | John MacFarlane | |
In the last few commits we were using as.code.fenced and as.literal at the same time for NODE_CODE_BLOCK, which obviously led to problems. | |||
2014-12-15 | Re-added cmark_ prefix to strbuf and chunk. | John MacFarlane | |
Reverts 225d720. | |||
2014-12-14 | Use chunk for fenced code info, instead of strbuf. | John MacFarlane | |
2014-12-13 | Removed cmark_ prefix on chunk and strbuf. | John MacFarlane | |
This isn't needed any more since we don't expose these in the API. | |||
2014-11-23 | Added 'fenced' flag to cmark_code struct, renamed from cmark_fenced_code. | John MacFarlane | |
Technically we could do without this, since we can check for cmark_fence_length > 0. But it makes the code clearer and doesn't really increase the size of the node struct (because the size of the union is set by the data for lists). | |||
2014-11-23 | Added internal flag to distinguish setext from atx headers. | John MacFarlane | |
2014-11-22 | Fix and test node_check | Nick Wellnhofer | |
2014-11-18 | Start with tests for the C API | Nick Wellnhofer | |
The C API tests can be run individually via build/api_test/api_test Or together with the spec tests via cmake --build build --target test | |||
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 public stuff from node.h to cmark.h | Nick Wellnhofer | |
2014-11-17 | Switch cmark_node_inl over to cmark_node | Nick Wellnhofer | |
2014-11-17 | Switch cmark_node_block over to cmark_node | Nick Wellnhofer | |
2014-11-17 | Start with unified nodes | Nick Wellnhofer | |