md4c: A fast, small, compliant Markdown parser implementation
MD4C is Markdown parser implementation in C, with the following features:
Compliance: Generally, MD4C aims to be compliant to the latest version of CommonMark specification.
Performance: MD4C is very fast.
Compactness: MD4C parser is implemented in one source file and one header file. There are no dependencies other than standard C library.
Portability: MD4C builds and works on Windows and POSIX-compliant OSes. (It should be simple to make it run also on most other platforms, at least as long as the platform provides C standard library, including a heap memory management.)
Permissive license: MD4C is available under the MIT license.
lila patches
I wote a few patches to tweak a bit how emphasis works. Each patch provides a new extension that can optionaly be enabled (at runtime, like existing extensions) :
- ITALIC : To enable
/italic/
support - BOLD : To enable
*bold*
support - BOX : To create some "box" blocks, for e.g. warnings, etc
- HIGHLIGHT : To enable
=highlight=
support - INDENT : To enable indented block support
You can of course see all of them in use in qmdoc.
Latest release: 0.4.8.lila.2 (2023-07-24)
Free Software
The MIT License (MIT)
Copyright © 2016-2020 Martin Mitáš
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.