md2html/md2html.c


Log

Author Commit Date CI Message
Martin Mitas 4e831dc1 2017-07-15T18:40:38 Add 2017 into copyright notes.
Martin Mitas f3f9404e 2017-07-14T02:06:23 Improve URL autolinks extension. It is now much more compatible to Cmark-gfm. With the flag MD_FLAG_PERMISSIVEWWWAUTOLINKS, we now also support the WWW autolinks (when the http: scheme is omitted).
Martin Mitas 25a156ee 2017-07-12T23:30:14 Implement strikethrough extension.
Martin Mitas aa51e86f 2017-07-12T22:52:58 md2html/md2html.c: Add options for Markdown dialect. Added support for options --commonmark and --github.
Martin Mitas c377f567 2016-12-16T10:06:07 Add some versioning info. * md4c.h now contains macros MD_VERSION_xxxx. * md2html has option --version. (Of course those shall have some meaningful values only when we introduce some release process.)
Martin Mitas c850843c 2016-12-16T09:47:06 md2html: Isolate HTML renderer into render_html.c (issue #8).
Martin Mitas c085ab5c 2016-12-12T23:23:51 Implement support for entities outside normal text flow (issue #5). * Change API (md4c.h) to propagate different substring type info to renderer. * Implement/refactor related code in the parser. * Adapt renderer (md2html) to the new API.
Martin Mitas 09ae8609 2016-12-07T23:56:47 Handle images more like links. Remove MD_SPAN_IMG_DETAIL::alt. Instead, the contents of the image is propagated to the renderer via MD_RENDERER::text() callback. * This fixes handling of entities inside the image text (issue #4). * It simplifies parsing and, more importantly, it better distingusshes what is responsibility of parser or renderer respectively. * This allows more flexibility on renderers side. Renderer who do not * really support images can just output the image content as any other text. The cost is a renderer into HTML (if it wants to render image contents into the attribute ALT of the IMG tag), has to handle images with more care. Typically such renderer has to track whether it is inside an image, and if so, then render span enter/leave as an empty string.
tin-pot 0d10f6db 2016-12-05T12:34:29 md2html.c: No need for <stdint.h>
tin-pot bc52610e 2016-12-05T12:21:07 Fix signed/unsigned comparisons. This removes a lot of MSVC warnings.
Martin Mitas a930e46f 2016-11-24T15:04:47 Fix build with MSVC.
Martin Mitas 54028ed7 2016-11-24T14:16:47 Implement ordered lists.
Martin Mitas b86c7f28 2016-11-24T11:31:28 Implement unordered lists.
Martin Mitas be7fcc16 2016-11-21T09:47:31 Implement tables. Note it is implemented as an extension. To enable it, the flag MD_FLAG_TABLES must be explicitly specified.
Martin Mitas 9f1c4b58 2016-11-21T09:48:08 Fix macro MD_FLAG_PERMISSIVEAUTOLINKS.
Martin Mitas 7d7d3b40 2016-11-21T02:41:39 md2html: Implement URL escaping.
Martin Mitas 20434c8a 2016-11-21T02:08:34 Implement images.
Martin Mitas 36643f4a 2016-11-20T00:16:16 md2html: Fix name of link attribute 'title'.
Martin Mitas 1a247795 2016-11-10T13:22:29 Implement link reference definitions and, partially, link references.
Martin Mitas 7c9f5982 2016-11-07T19:48:16 Fix typo in debug output.
Martin Mitas ef5f230f 2016-10-14T19:56:05 Implement permissive autolinks extensions. With MD_FLAG_PERMISSIVEURLAUTOLINKS, we treat not overly complicated URLs as autolinks even without '<' and '>'. With MD_FLAG_PERMISSIVEEMAILAUTOLINKS, we treat not overly complicated e-mail addresses as autolinks even without '<', '>' and without the 'mailto:' scheme. Also expanded md2html utility and tests to cover these.
Martin Mitas 296c8318 2016-10-13T19:04:36 Implement emphasis and strong emphasis.
Martin Mitas a7899c05 2016-10-11T02:34:01 Implement autolinks.
Martin Mitas 1cfc6a5f 2016-10-11T01:10:11 Incorporate the specification testsuite from CommonMark.
Martin Mitas 2b740798 2016-10-11T00:36:39 Implement insecure character (NULL) replacement.
Martin Mitas de2338ec 2016-10-09T00:42:30 Fix: By default, do not collapse whitespace.
Martin Mitas 14090e2e 2016-10-08T23:30:49 md2html: Output new-line after "</blockquote>".
Martin Mitas 87b41e1a 2016-10-07T20:39:42 Implement entities.
Martin Mitas a284a382 2016-10-06T23:50:56 Implement code spans.
Martin Mitas 33258e68 2016-10-04T21:18:30 Implement block quotes.
Martin Mitas 279ec8f6 2016-10-04T20:46:10 Implement soft and hard line breaks.
Martin Mitas e0127581 2016-10-04T20:29:22 Implement raw HTML blocks.
Martin Mitas d2da226c 2016-10-04T19:48:06 Implement fenced code blocks.
Martin Mitas 43bd2844 2016-10-04T03:26:56 Implemented indented code blocks.
Martin Mitas 80984c98 2016-10-04T02:18:47 Little code clean-up.
Martin Mitas 0225f337 2016-10-04T00:55:32 Implement ATX headers.
Martin Mitas 63a92c08 2016-10-04T00:18:08 Implement thematic breaks (<hr>).
Martin Mitas efed58af 2016-10-03T20:17:15 Initial commit.