Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-30 | Use strbuf_printf instead of snprintf. | John MacFarlane | |
snprintf is not available on some platforms. | |||
2015-03-30 | snprintf is not implemented in Visual Studio 2013 or earlier. Use _snprintf ↵ | Changjiang Yang | |
instead. | |||
2015-03-29 | commonmark - use strlen not strnlen for portability. | John MacFarlane | |
strlen should be safe here, as we use it on strings generated by cmark_chunk_to_cstr and these should be null terminated. | |||
2015-03-29 | commonmark renderer - render links as autolinks when appropriate. | John MacFarlane | |
2015-03-29 | Don't wrap inline HTML. | John MacFarlane | |
2015-03-29 | commonmark renderer - improved tight list detection. | John MacFarlane | |
2015-03-29 | commonmark writer - more tight list fixes. | John MacFarlane | |
Avoid losing blank line *before* a tight list, by adjusting `state->in_tight_list_item` only *after* we've started the first list item. | |||
2015-03-29 | commonmark - don't use indented code if first thing in list item. | John MacFarlane | |
2015-03-29 | commonmark renderer - don't escape in fenced code blocks. | John MacFarlane | |
2015-03-29 | commonmark - properly escape literal backticks. | John MacFarlane | |
2015-03-29 | commonmark renderer - honor softbreak if width == 0. | John MacFarlane | |
2015-03-29 | commonmark renderer - fixed memory access error. | John MacFarlane | |
2015-03-29 | commonmark - improved tight list rendering. | John MacFarlane | |
2015-03-29 | commonmark - use * for bullet list to avoid clash with setext header. | John MacFarlane | |
E.g. with a paragraph followed immediately by a list item with no content. | |||
2015-03-29 | Fixes one-off error in previous commit. | John MacFarlane | |
2015-03-29 | commonmark - use space after delim if code is empty. | John MacFarlane | |
2015-03-29 | commonmark - use fenced code blocks if code starts/ends with blank. | John MacFarlane | |
2015-03-29 | commonmark renderer: special case EMPH(EMPH(x)). | John MacFarlane | |
This needs to be rendered `*_x_*` rather than `**x**`. | |||
2015-03-29 | commonmark renderer - better inline code. | John MacFarlane | |
Use the minimum number of backticks as delimiter, and include a space only if needed. | |||
2015-03-29 | commonmark renderer - fixed calculation of number of backticks in code. | John MacFarlane | |
2015-03-29 | Removed obsolete TODO comment. | John MacFarlane | |
2015-03-29 | commonmark renderer - two blank lines after list before code/list. | John MacFarlane | |
2015-03-29 | commonmark renderer - escaping improvements. | John MacFarlane | |
2015-03-28 | commonmark rendere: more fine-grained control over escaping. | John MacFarlane | |
2015-03-28 | commonmark renderer: better escaping of `#`. | John MacFarlane | |
2015-03-27 | More TODOs in commonmark renderer. | John MacFarlane | |
2015-03-27 | Added TODO comment to commonmark renderer. | John MacFarlane | |
2015-03-26 | Fixed HTML blocks. | John MacFarlane | |
2015-03-26 | commonmark renderer: handle tight/loose list distinction. | John MacFarlane | |
2015-03-26 | commonmark renderer: proper numbering for ordered lists. | John MacFarlane | |
2015-03-23 | Added TODO on tight lists. | John MacFarlane | |
2015-03-23 | Made CommonMark renderer sensitive to CMARK_OPT_HARDBREAKS. | John MacFarlane | |
Note that width is automatically set to 0 if CMARK_OPT_HARDBREAKS is specified. | |||
2015-03-21 | CommonMark renderer: Added 'width' parameter. | John MacFarlane | |
This controls column width for hard wrapping. By default it is 0, which means that no wrapping will be done. Added a width parameter in `cmark_render_commonmark`. | |||
2015-03-21 | CommonMark renderer: use right number of backticks in quoting code. | John MacFarlane | |
We ensure that we use one more backtick then the longest backtick string in the code. | |||
2015-03-21 | CommonMark writer: support title on link, image. | John MacFarlane | |
2015-03-21 | CommonMark renderer: improved code blocks. | John MacFarlane | |
* Use indented code block if no info. * Print info string on fenced blocks. | |||
2015-03-21 | CommonMark renderer: don't wrap headers. | John MacFarlane | |
2015-03-21 | Commonmark renderer: improved escaping. | John MacFarlane | |
2015-03-21 | Added commonmark renderer. | John MacFarlane | |
This is still incomplete. (See TODOs in the source.) |