Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-22 | C html renderer: ensure newline before hr or raw html block. | John MacFarlane | |
2014-11-22 | Make render_html return a char* | Nick Wellnhofer | |
2014-11-22 | Stackless HTML rendering | Nick Wellnhofer | |
Now that every node has a parent pointer, it's possible to implement the HTML rendering functions without render stacks and any dynamic memory allocations. This commit also adds some minor optimizations that eliminate some strbuf_put* calls for the common case and avoid printf for headers. | |||
2014-11-21 | html: Simplified render_stack code. | John MacFarlane | |
Now that we have just one node type, it is not necessary to have two separate 'push' functions. | |||
2014-11-19 | cmark: Add space before '/' in img tag. | John MacFarlane | |
2014-11-18 | Make render_html support nodes with no children | Nick Wellnhofer | |
For empty inline nodes like EMPH, the parser always creates a child containing an empty string. Using the tree manipulation API, nodes with no children can be created. Adjust render_html to cope. | |||
2014-11-18 | html: Removed union from RenderStack. | John MacFarlane | |
It doesn't make sense to have a union here, and this simplifies the code. | |||
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 | Added targets to regenerate html_unescape.h and case_fold_switch.inc. | John MacFarlane | |
For now these are just in the regular Makefile, not in CMakeLists.txt, since the generated files are in the repo and shouldn't ordinarily be regenerated. Note that html_unescape.h is a bit different on regeneration, and this removes error messages we were getting with Clang. | |||
2014-11-16 | Feature test for __builtin_expect | Nick Wellnhofer | |
2014-11-16 | Probe for stdbool.h | Nick Wellnhofer | |
Let cmake create a cmark_config.h file to deal with platforms missing stdbool.h. | |||
2014-11-16 | Create html_unescape.h as ANSI C | Nick Wellnhofer | |
Pass -L ANSI-C to gperf to create more compatible code. | |||
2014-11-16 | cmark_render_html now just returns a regular C string. | John MacFarlane | |
This way, we don't have to expose buffer.h; it is just used internally. | |||
2014-11-16 | Moved AST details from public header cmark.h to private ast.h. | John MacFarlane | |
2014-11-16 | Rename include guards for consistency and to avoid reserved identifiers | Craig Barnes | |
2014-11-14 | Exported some functions from buffer that are used elsewhere. | John MacFarlane | |
2014-11-11 | Added cmark_markdown_to_html with a simple interface. | John MacFarlane | |
See #70. | |||
2014-11-10 | html_unescape: Made find_entity static | John MacFarlane | |
2014-11-09 | Fixed allocation issue. | John MacFarlane | |
2014-11-06 | Made blocks_to_html non-recursive (using a stack). | John MacFarlane | |
This will help avoid stack overflows with deeply nested structures. See #187. | |||
2014-11-06 | Reformatted code consistently. | John MacFarlane | |
2014-11-06 | HTML renderer: render alt text as plain, unformatted string. | John MacFarlane | |
2014-11-06 | Use render stack for inline links. | John MacFarlane | |
2014-11-05 | Use regular strings for literal in render_stack. | John MacFarlane | |
2014-11-05 | Use stack approach for rendering strong, emph. | John MacFarlane | |
2014-11-05 | Added basic infrastructure for render_stack. | John MacFarlane | |
2014-10-24 | Renamed c program and library stmd -> cmark. | John MacFarlane | |
Also renamed internal library functions accordingly. | |||
2014-09-18 | Fix memory leak when rendering images as HTML | Jordan Milne | |
2014-09-15 | Cleanup external APIs | Vicent Marti | |
2014-09-10 | Handle overflows in the codepoint parser | Vicent Marti | |
2014-09-09 | Update the spec with better entity handling | Vicent Marti | |
2014-09-09 | Oops | Vicent Marti | |
2014-09-09 | Fix the class attribute for code fences | Vicent Marti | |
2014-09-09 | Abstract the Block union | Vicent Marti | |
2014-09-09 | Entity declarations | 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 | Rename to strbuf | Vicent Marti | |
2014-09-09 | 433/8 | Vicent Marti | |
2014-09-09 | 430/11 | Vicent Marti | |
2014-09-09 | 426/15 | Vicent Marti | |
2014-09-09 | 379/62 | Vicent Marti | |
2014-09-09 | 342/99 | Vicent Marti | |