md4c

A C Markdown parser

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. md4c

Description

MD4C is a Markdown parser implementation in C, with the following features: * Compliance: Generally, MD4C aims to be compliant to the latest version of CommonMark specification. Currently, we are fully compliant to CommonMark 0.30. * Extensions: MD4C supports some commonly requested and accepted extensions. * 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. * Embedding: MD4C parser is easy to reuse in other projects, its API is very straightforward: There is actually just one function, md_parse(). * Push model: MD4C parses the complete document and calls few callback functions provided by the application to inform it about a start/end of every block, a start/end of every span, and with any textual contents. * Portability: MD4C builds and works on Windows and POSIX-compliant OSes. * Encoding: MD4C by default expects UTF-8 encoding of the input document. * Permissive license: MD4C is available under the MIT license.

Install

Channel stable v0.5.2-1

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install md4c

Download version 0.5.2-1 (x86_64) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews