Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-16 | print: print fenced and fence_length for code blocks. | John MacFarlane | |
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-14 | Rename CMARK_NODE_INLINE_CODE -> CMARK_NODE_CODE. | John MacFarlane | |
2014-12-13 | Remove CMARK_NODE_REFERENCE_DEF from API. | John MacFarlane | |
Modified finalize in blocks.c to return parent of finalized block, so we can handle the case of reference definitions, when we simply remove the finalized block. | |||
2014-12-12 | Revert "Removed CMARK_NODE_REFERENCE_DEF from API." | John MacFarlane | |
This reverts commit b598b52a4acdc2332be3d34e30237d1b93b7dd03. The change led to some problems, because some of the callers of 'finalize' expected the node to exist after the call. This could all be rewritten, but for now let's just revert. | |||
2014-12-12 | Removed CMARK_NODE_REFERENCE_DEF from API. | John MacFarlane | |
There's no reason to store these empty nodes in the API. The references have already been resolved. | |||
2014-11-25 | Replaced cmark_debug_print with cmark_render_ast. | John MacFarlane | |
This returns a string. | |||
2014-11-25 | print.c: use nonrecursive algorithm. | John MacFarlane | |
2014-11-25 | Use strbuf in print.c. | John MacFarlane | |
This is preliminary to having it return a string. | |||
2014-11-25 | Replaced print_blocks and print_inlines with print_nodes. | John MacFarlane | |
2014-11-25 | `print.c` - make `document` node implicit. | John MacFarlane | |
It doesn't add information and just increases the indent level of everything else. | |||
2014-11-25 | Rename NODE_STRING -> NODE_TEXT. | John MacFarlane | |
In JS, use 'Text' instead of 'Str'. In spec, use "plain textual content" instead of "strings." | |||
2014-11-23 | Do not distinguish btw fenced and indented code in AST. | John MacFarlane | |
Use a single CMARK_NODE_CODE_BLOCK tag for both. Distinguish them when needed for parsing by looking at the fence_length attribute, which is 0 for indented blocks. | |||
2014-11-23 | Revert "Revert "Remove distinction btw atx and setext header in AST."" | John MacFarlane | |
This reverts commit 4570eb2bff2e1b71fa5b6408abbc69c98ff5ff24. | |||
2014-11-22 | Revert "Remove distinction btw atx and setext header in AST." | John MacFarlane | |
This reverts commit a71423f6ee1b77d9f79d42599ea00b4ca99f5da0. Not quite sure about this change, so reverting for now. Note that we still have a distinction between fenced and indented code blocks in the AST. These two distinctions seem to stand or fall together. | |||
2014-11-22 | Remove distinction btw atx and setext header in AST. | John MacFarlane | |
Now we just have 'header' -- Setext and ATX are just two ways of forming these; it's not a semantic difference that should remain in the AST. | |||
2014-11-22 | Renamed NODE_BQUOTE -> NODE_BLOCK_QUOTE. | John MacFarlane | |
2014-11-17 | Store link labels as children in tree structure | Nick Wellnhofer | |
2014-11-17 | Rename ast.h to parser.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-16 | Export enums for inline, block types, list and list delim types. | John MacFarlane | |
Also switched from `bullet`, `ordered`, `parens`, `period` to `CMARK_BULLET_LIST`, `CMARK_ORDERED_LIST`, `CMARK_PAREN_DELIM`, `CMARK_PERIOD_DELIM`. | |||
2014-11-16 | Moved AST details from public header cmark.h to private ast.h. | John MacFarlane | |
2014-11-06 | Removed unnecessary C99-ism. | John MacFarlane | |
2014-10-24 | Renamed c program and library stmd -> cmark. | John MacFarlane | |
Also renamed internal library functions accordingly. | |||
2014-10-18 | Reindented c sources. | John MacFarlane | |
2014-09-15 | Cleanup external APIs | Vicent Marti | |
2014-09-09 | Abstract the Block union | Vicent Marti | |
2014-09-09 | UTF8-aware detabbing and entity handling | Vicent Marti | |
2014-09-09 | Rename block literals | Vicent Marti | |
2014-09-09 | Rename node_block | Vicent Marti | |
2014-09-09 | Rename `inl` | Vicent Marti | |
2014-09-09 | Rename inl | Vicent Marti | |
2014-09-09 | 433/8 | Vicent Marti | |
2014-09-09 | 338/103 | Vicent Marti | |
2014-09-09 | Rename inlines | Vicent Marti | |
2014-09-09 | ffffix | Vicent Marti | |
2014-08-13 | Initial commit | John MacFarlane | |