summaryrefslogtreecommitdiff
path: root/src/html
AgeCommit message (Collapse)Author
2014-11-17Switch cmark_node_inl over to cmark_nodeNick Wellnhofer
2014-11-17Switch cmark_node_block over to cmark_nodeNick Wellnhofer
2014-11-16Export enums for inline, block types, list and list delim types.John MacFarlane
Also switched from `bullet`, `ordered`, `parens`, `period` to `CMARK_BULLET_LIST`, `CMARK_ORDERED_LIST`, `CMARK_PAREN_DELIM`, `CMARK_PERIOD_DELIM`.
2014-11-16Added targets to regenerate html_unescape.h and case_fold_switch.inc.John MacFarlane
For now these are just in the regular Makefile, not in CMakeLists.txt, since the generated files are in the repo and shouldn't ordinarily be regenerated. Note that html_unescape.h is a bit different on regeneration, and this removes error messages we were getting with Clang.
2014-11-16Feature test for __builtin_expectNick Wellnhofer
2014-11-16Probe for stdbool.hNick Wellnhofer
Let cmake create a cmark_config.h file to deal with platforms missing stdbool.h.
2014-11-16Create html_unescape.h as ANSI CNick Wellnhofer
Pass -L ANSI-C to gperf to create more compatible code.
2014-11-16cmark_render_html now just returns a regular C string.John MacFarlane
This way, we don't have to expose buffer.h; it is just used internally.
2014-11-16Moved AST details from public header cmark.h to private ast.h.John MacFarlane
2014-11-16Rename include guards for consistency and to avoid reserved identifiersCraig Barnes
2014-11-14Exported some functions from buffer that are used elsewhere.John MacFarlane
2014-11-11Added cmark_markdown_to_html with a simple interface.John MacFarlane
See #70.
2014-11-10html_unescape: Made find_entity staticJohn MacFarlane
2014-11-09Fixed allocation issue.John MacFarlane
2014-11-06Made blocks_to_html non-recursive (using a stack).John MacFarlane
This will help avoid stack overflows with deeply nested structures. See #187.
2014-11-06Reformatted code consistently.John MacFarlane
2014-11-06HTML renderer: render alt text as plain, unformatted string.John MacFarlane
2014-11-06Use render stack for inline links.John MacFarlane
2014-11-05Use regular strings for literal in render_stack.John MacFarlane
2014-11-05Use stack approach for rendering strong, emph.John MacFarlane
2014-11-05Added basic infrastructure for render_stack.John MacFarlane
2014-10-24Renamed c program and library stmd -> cmark.John MacFarlane
Also renamed internal library functions accordingly.
2014-09-18Fix memory leak when rendering images as HTMLJordan Milne
2014-09-15Cleanup external APIsVicent Marti
2014-09-10Handle overflows in the codepoint parserVicent Marti
2014-09-09Update the spec with better entity handlingVicent Marti
2014-09-09OopsVicent Marti
2014-09-09Fix the class attribute for code fencesVicent Marti
2014-09-09Abstract the Block unionVicent Marti
2014-09-09Entity declarationsVicent Marti
2014-09-09UTF8-aware detabbing and entity handlingVicent Marti
2014-09-09Rename block literalsVicent Marti
2014-09-09Rename node_blockVicent Marti
2014-09-09Rename `inl`Vicent Marti
2014-09-09Rename inlVicent Marti
2014-09-09Rename to strbufVicent Marti
2014-09-09433/8Vicent Marti
2014-09-09430/11Vicent Marti
2014-09-09426/15Vicent Marti
2014-09-09379/62Vicent Marti
2014-09-09342/99Vicent Marti
2014-09-09338/103Vicent Marti
2014-09-09It buiiiildsVicent Marti