md2html/render_html.c


Log

Author Commit Date CI Message
Tilman Roeder 8bac86aa 2019-07-07T09:46:10 Added support for LaTeX math (#87) Addresses #86.
Martin Mitas 56f8bbb1 2019-05-19T15:12:32 Implement/improve some optimizations, both in the parser and HTML renderer.
Martin Mitas ef64fd38 2019-05-13T10:46:50 render_html.c: Improve RENDER_LITERAL to not cause warnings in MSVC 2017.
Martin Mitas 19504cad 2019-04-29T22:24:23 Revert "Build: With gcc and clang, enforce -std=c90." This reverts commit 716b6ca4448318df900eb22bb7a31499a827d905. Rationale: snprintf() not available in C90, so -std=c90 causes warnings on Linux.
Martin Mitas 716b6ca4 2019-04-17T15:01:03 Build: With gcc and clang, enforce -std=c90. See #71. This forces us to be more conservative in the future code changes, and make us more friendly mainly to some embedded compilers who are often behind the current state of art. Fix also related warnings and errors, as provided by gcc 8.1.0.
Martin Mitáš 8e01a769 2019-02-10T22:58:42 Implement task lists. (#50) Fixes #30.
Martin Mitas 00236fc7 2019-02-05T12:59:44 Update years in the files changed this year and in LICENSE.md.
Martin Mitas 03f58685 2019-02-05T10:13:34 md4c.h: Rename and refactorize MD_RENDERER struct. * Rename MD_RENDERER to MD_PARSER. (Typedef to provide the original name is provided to minimize disruption of existing code.) * Reorder its members to make better sense. * Add abi_version member (hopefully, it shall never be needed ;-) * Update md2html utility to deal with the change. Rationale: This is done in order to prepare for long-term maintenance of ABI compatibility, as there is no work-in-progress to be buildable as shared lib, and be included in some Linux distros.
Martin Mitas 5f47a5cb 2017-09-11T10:55:21 md_build_attribute: Handle U+0000 character.
Martin Mitas 8bfb6785 2017-08-28T16:16:59 render_html: Get rid of global variable. This is a residue which by mistake survived the isolation of the rendering code in the c850843c12468c6bd500b4c1d86653bdac5628d4.
Martin Mitas dc3dde78 2017-08-28T16:14:04 render_html: Add a new line after <ol>. This makes the behavior more consistent with <ul>.
Martin Mitas 4e831dc1 2017-07-15T18:40:38 Add 2017 into copyright notes.
Martin Mitas 1bc7f3a8 2017-07-14T02:22:15 render_url_escaped: Fix escaping of ampersand. This affected generating href attribute if links or src attribute of images.
Martin Mitas 82c0eb53 2017-07-13T16:23:45 entity_lookup: Make it return UTF-32 codepoints. And adapted callers accordingly. Fixes #12.
Martin Mitas 25a156ee 2017-07-12T23:30:14 Implement strikethrough extension.
Martin Mitas ba686ec3 2016-12-16T10:16:17 render_html.c: Fix build with MSVC.
Martin Mitas c9ef8ccb 2016-12-16T09:59:03 render_html.c: Unify use of char versus MD_CHAR.
Martin Mitas c850843c 2016-12-16T09:47:06 md2html: Isolate HTML renderer into render_html.c (issue #8).