summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2014-11-22Make render_html return a char*Nick Wellnhofer
2014-11-17Switch cmark_node_inl over to cmark_nodeNick Wellnhofer
2014-11-17Switch cmark_node_block over to cmark_nodeNick Wellnhofer
2014-11-16Free the string returned by html renderer in main program.John MacFarlane
2014-11-16Moved MAX_LINK_LABEL_LENGTH out of public header.John MacFarlane
Put it in ast.h.
2014-11-16Probe for stdbool.hNick Wellnhofer
Let cmake create a cmark_config.h file to deal with platforms missing stdbool.h.
2014-11-16Don't use variable-length arraysNick Wellnhofer
They're not supported by MSVC.
2014-11-16We don't need to include stdbool in the public header.John MacFarlane
2014-11-16cmark_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-15Expose lower-level parsing API.John MacFarlane
The new functions cmark_new_doc_parser, cmark_free_doc_parser, cmark_process_line, and cmark_finish allow you to feed lines one by one (possibly from several files) to the parser and call finish when you're done. This is now used in main for mulitple files.
2014-11-14Added some includes of buffer.hJohn MacFarlane
2014-11-13Moved the timing macros to get finer-grained information.John MacFarlane
2014-11-13Added bench.h and inserted timing macros in main.John MacFarlane
`make TIMER=1` to build with timings.
2014-11-13Rename cmark_free_nodes -> cmark_free_blocks.John MacFarlane
2014-11-11Don't include debug.h in any production code.John MacFarlane
It uses some GNU-specific things.
2014-10-24Renamed c program and library stmd -> cmark.John MacFarlane
Also renamed internal library functions accordingly.
2014-10-18Reindented c sources.John MacFarlane
2014-09-15Cleanup external APIsVicent Marti
2014-09-09Rename node_blockVicent Marti
2014-09-09Rename to strbufVicent Marti
2014-09-09ffffixVicent Marti
2014-09-09lolVicent Marti
2014-09-06replace Standard Markdown with CommonMarkPablo Rodríguez
2014-08-13main.c: Fixed reading of files specified on command line.John MacFarlane
2014-08-13Initial commitJohn MacFarlane