Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-29 | Added options parameter to renderers. | John MacFarlane | |
To keep the API simple and avoid API changes when new options are added, this is just a long integer. Set it by disjoining options that are defined as powers of 2: e.g. `CMARK_HTML_SOURCEPOS | CMARK_HTML_HARDREAKS`. Test options using `&`: `if (options & CMARK_HTML_SOURCEPOS)`. Added `--hardbreaks` and `--sourcepos` command-line options. | |||
2014-12-04 | Moved source files from src/html into src. | John MacFarlane | |
The separate directory presents problems for some simple extension building systems, like luarocks. | |||
2014-11-28 | Removed cmark_free_nodes from public API. | John MacFarlane | |
Replace it with static S_free_nodes. | |||
2014-11-28 | Use prefixed names for symbols from references.h | Nick Wellnhofer | |
2014-11-22 | Make parser accept a char* | Nick Wellnhofer | |
2014-11-22 | Make render_html return a char* | Nick Wellnhofer | |
2014-11-17 | Move cmark_free_nodes to node.c | Nick Wellnhofer | |
2014-11-17 | Rename ast.h to parser.h | Nick Wellnhofer | |
2014-11-17 | Move inline-related stuff to inlines.c | Nick Wellnhofer | |
2014-11-17 | Remove old node_block and node_inl | 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 | Moved refmap from the top-level block node to the doc_parser. | John MacFarlane | |
2014-11-16 | Added some basic functions for traversing/editing blocks in AST. | John MacFarlane | |
2014-11-16 | Move inline function definitions to header files | Nick Wellnhofer | |
Inline functions must be defined in header files in order to be inlined in other compilation units. This also fixes the MSVC build where out-of-line versions weren't created and allows to remove the -fgnu89-inline flag. | |||
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 | Use named enum types | Nick Wellnhofer | |
Needed for C++ compatibility. | |||
2014-11-16 | Cast void pointers explicitly | Nick Wellnhofer | |
Needed for C++ compatibility. | |||
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-15 | Don't expose append_inlines. | John MacFarlane | |
2014-11-14 | inline make_autolink. | John MacFarlane | |
2014-11-13 | Added cmark_append_blocks, exposed more functions. | John MacFarlane | |
2014-11-13 | Removed ast modules, moved these defs back to cmark.h. | John MacFarlane | |
2014-11-13 | Rename cmark_free_nodes -> cmark_free_blocks. | John MacFarlane | |
2014-11-11 | Improved cmark_markdown_to_html. | John MacFarlane | |
Added length parameter so we can avoid strlen. Properly free buffer. | |||
2014-11-11 | Added cmark_markdown_to_html with a simple interface. | John MacFarlane | |
See #70. |