Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-07 | Avoid strlen in html.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 | Removed unneeded include. | 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-14 | Added smart.c, smart.h with function abstracting smart punct rendering. | John MacFarlane | |
Also fixed some bugs in earlier smart handling. Now handles UTF-8. | |||
2015-02-14 | astyle changes (code formatting only). | John MacFarlane | |
2015-02-14 | Improved smart quote recognition. | John MacFarlane | |
All tests now pass. | |||
2015-02-14 | Added CMARK_OPT_SMARTPUNCT and --smart option. | John MacFarlane | |
So far this is only implemented for the HTML renderer. Ultimately some of this should be factored out into a form that can be used in other renderers. | |||
2015-01-21 | Removed unnecessary strbuf_free's. | John MacFarlane | |
2015-01-05 | Reformatted code consistently with astyle. | John MacFarlane | |
2014-12-31 | Remove useless void* cast | Nick Wellnhofer | |
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-16 | HTML writer: fixed bug in detection of fenced code blocks. | John MacFarlane | |
2014-12-15 | Re-added cmark_ prefix to strbuf and chunk. | John MacFarlane | |
Reverts 225d720. | |||
2014-12-14 | Use chunk for fenced code info, instead of strbuf. | John MacFarlane | |
2014-12-14 | Use as.literal instead of string_content for HTML and code blocks. | John MacFarlane | |
This is for consistency with the other types of nodes that have literal strings as contents. | |||
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 iterator interface to API, removed cmark_walk. | John MacFarlane | |
* Added `iterator.c`, `iterator.h`. * Removed `cmark_walk`. * Replaced `cmark_walk` with iterator in HTML renderer. * Replaced API test for `cmark_walk` with simple iterator test. | |||
2014-12-13 | API improvements: cmark_event_type parameter for walk handlers. | John MacFarlane | |
Added cmark_event_type enum, which is used as the second parameter of the handler passed to cmark_walk. See #224. | |||
2014-12-13 | Remove CMARK_NODE_REFERENCE_DEF from API. | John MacFarlane | |
Modified finalize in blocks.c to return parent of finalized block, so we can handle the case of reference definitions, when we simply remove the finalized block. | |||
2014-12-12 | Revert "Removed CMARK_NODE_REFERENCE_DEF from API." | John MacFarlane | |
This reverts commit b598b52a4acdc2332be3d34e30237d1b93b7dd03. The change led to some problems, because some of the callers of 'finalize' expected the node to exist after the call. This could all be rewritten, but for now let's just revert. | |||
2014-12-12 | Removed CMARK_NODE_REFERENCE_DEF from API. | John MacFarlane | |
There's no reason to store these empty nodes in the API. The references have already been resolved. | |||
2014-12-12 | Rewrote HTML renderer using cmark_walk. | John MacFarlane | |
This version is shorter, more readable, and more regular. It should serve as a template for creating new writers. Performance is the same. All tests pass. | |||
2014-12-04 | Moved source files from src/html into src. | John MacFarlane | |
The separate directory presents problems for some simple extension building systems, like luarocks. | |||
2014-09-09 | ffffix | Vicent Marti | |
2014-09-06 | Adjusted HTML output for fenced code to match #71 change. | John MacFarlane | |
2014-08-13 | Initial commit | John MacFarlane | |