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-25 | xml renderer - use sprintf to avoid strbuf_sprintf. | John MacFarlane | |
2015-07-25 | Avoid using strbuf_printf when not needed. | John MacFarlane | |
2015-06-07 | Avoid strlen in xml.c | Nick Wellnhofer | |
2015-06-07 | Convert code base to strbuf_t | Nick Wellnhofer | |
There are probably a couple of places I missed. But this will only be a problem if we use a 64-bit bufsize_t at some point. Then, we'll get warnings from -Wshorten-64-to-32. | |||
2015-06-06 | astyle formatting changes. | John MacFarlane | |
2015-05-14 | Store link URL and title as cmark_chunk | Nick Wellnhofer | |
2015-02-16 | Made 'options' an int rather than a long. | John MacFarlane | |
For consistency with the API. | |||
2015-02-15 | Moved normalization step from XML renderer to main. | John MacFarlane | |
2015-01-21 | Removed unnecessary strbuf_free's. | John MacFarlane | |
2015-01-12 | Some astyle reformatting. | John MacFarlane | |
2015-01-11 | xml.c: Include level attribute in header. | John MacFarlane | |
2015-01-11 | xml format: use 'destination' instead of 'url', like the spec. | John MacFarlane | |
2015-01-09 | Minor code reformatting. | John MacFarlane | |
2015-01-09 | xml writer: add list attributes. | John MacFarlane | |
2015-01-07 | cmark: Add function & option to normalize text nodes. | John MacFarlane | |
So, instead of <text>Hi</text> <text>&</text> <text>lo</text> we get <text>Hi&lo</text> * Added exported `cmark_consolidate_text_nodes` function. * Added `CMARK_OPT_NORMALIZE` to options. * Added optional normalization in XML writer. * Added `--normalize` option to command-line program. * Updated man page. | |||
2015-01-05 | Reformatted code consistently with astyle. | John MacFarlane | |
2015-01-04 | xml writer - fixed issues with empty images. | John MacFarlane | |
2014-12-31 | Remove useless void* cast | Nick Wellnhofer | |
2014-12-29 | Make `--sourcepos` affect xml writer too. | John MacFarlane | |
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-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 | Revamped xml writer and dtd to use lowercase element names. | John MacFarlane | |
2014-12-28 | Added xml writer, to dump the AST in XML. | John MacFarlane | |
This is a work-in-progress. CommonMark.dtd gives the DTD for the generated XML. Closes #53. |