Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-12 | man renderer: Fixed character escaping, use new cmark_render_ascii. | John MacFarlane | |
2015-07-12 | Added width parameter to render_man. | John MacFarlane | |
Rewrote man.c using new renderer framework. | |||
2015-04-15 | Check return status of utf8proc_iterate. Closes #27. | John MacFarlane | |
If unicode parsing gives an error condition, we just skip the rest of the string without rendering anything and proceed. I'm not sure if that's the best way to handle this, but garbage in, garbage out. Note: this bug was found using american fuzzy lop. | |||
2015-03-03 | astyle changes. | John MacFarlane | |
2015-02-16 | Made 'options' an int rather than a long. | John MacFarlane | |
For consistency with the API. | |||
2015-02-15 | Fixed man escaping for unicode characters. | John MacFarlane | |
2015-02-15 | Proper escaping of smart punctuation in man writer. | John MacFarlane | |
2015-02-15 | Moved handling of --smart from renderer to parser. | John MacFarlane | |
This allows backslash escapes to disable smart quote transformations in particular cases. Closes #8. | |||
2015-02-15 | Implemented --smart for man output. | John MacFarlane | |
2015-01-21 | Removed unnecessary strbuf_free's. | John MacFarlane | |
2015-01-19 | Man writer: ensure we properly escape multiline strings. | John MacFarlane | |
2015-01-05 | Reformatted code consistently with astyle. | John MacFarlane | |
2014-12-31 | Remove useless void* cast | Nick Wellnhofer | |
2014-12-30 | Revert "man: use a variable to store the char * from node_get_url." | John MacFarlane | |
This reverts commit 46b67b710788be7924b5a412ab68eea3cac0cd96. I was mistaken that this helped. Which is good, because I would not have understood why it helped. | |||
2014-12-30 | man: use a variable to store the char * from node_get_url. | John MacFarlane | |
We get segfaults on some platforms when we do cmark_strbuf_printf(man, " (%s)", cmark_node_get_url(node)); but they go away with: url = cmark_node_get_url(node); cmark_strbuf_printf(man, " (%s)", url); I don't understand why. Closes #253. | |||
2014-12-29 | Avoid warning about unused options parameter in man writer. | 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 | Rename CMARK_NODE_LIST_ITEM -> CMARK_NODE_ITEM. | John MacFarlane | |
2014-12-16 | Added 'literal' field to 'code' struct. | John MacFarlane | |
In the last few commits we were using as.code.fenced and as.literal at the same time for NODE_CODE_BLOCK, which obviously led to problems. | |||
2014-12-15 | Re-added cmark_ prefix to strbuf and chunk. | John MacFarlane | |
Reverts 225d720. | |||
2014-12-14 | man writer: use chunk literal in code blocks. | John MacFarlane | |
2014-12-14 | Added empty clauses for DOCUMENT node to html and man writers. | John MacFarlane | |
For completeness. | |||
2014-12-14 | Rename CMARK_NODE_INLINE_CODE -> CMARK_NODE_CODE. | John MacFarlane | |
2014-12-13 | Added cmark_render_man (man page writer). | John MacFarlane | |
cmark: Replaced `--man` and `--ast` with generic `--to` option. |