Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. |