summaryrefslogtreecommitdiff
path: root/src/commonmark.c
AgeCommit message (Collapse)Author
2015-03-29commonmark - use space after delim if code is empty.John MacFarlane
2015-03-29commonmark - use fenced code blocks if code starts/ends with blank.John MacFarlane
2015-03-29commonmark renderer: special case EMPH(EMPH(x)).John MacFarlane
This needs to be rendered `*_x_*` rather than `**x**`.
2015-03-29commonmark renderer - better inline code.John MacFarlane
Use the minimum number of backticks as delimiter, and include a space only if needed.
2015-03-29commonmark renderer - fixed calculation of number of backticks in code.John MacFarlane
2015-03-29Removed obsolete TODO comment.John MacFarlane
2015-03-29commonmark renderer - two blank lines after list before code/list.John MacFarlane
2015-03-29commonmark renderer - escaping improvements.John MacFarlane
2015-03-28commonmark rendere: more fine-grained control over escaping.John MacFarlane
2015-03-28commonmark renderer: better escaping of `#`.John MacFarlane
2015-03-27More TODOs in commonmark renderer.John MacFarlane
2015-03-27Added TODO comment to commonmark renderer.John MacFarlane
2015-03-26Fixed HTML blocks.John MacFarlane
2015-03-26commonmark renderer: handle tight/loose list distinction.John MacFarlane
2015-03-26commonmark renderer: proper numbering for ordered lists.John MacFarlane
2015-03-23Added TODO on tight lists.John MacFarlane
2015-03-23Made 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-21CommonMark 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-21CommonMark 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-21CommonMark writer: support title on link, image.John MacFarlane
2015-03-21CommonMark renderer: improved code blocks.John MacFarlane
* Use indented code block if no info. * Print info string on fenced blocks.
2015-03-21CommonMark renderer: don't wrap headers.John MacFarlane
2015-03-21Commonmark renderer: improved escaping.John MacFarlane
2015-03-21Added commonmark renderer.John MacFarlane
This is still incomplete. (See TODOs in the source.)