BSD Ports

textproc/md4c 0.5.3 NetBSD

Markdown for C library and parser

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
bfeb2ad601
License
mit
Categories
textproc, converters
Package size
62.7 KiB, 225.4 KiB installed

Description

MD4C stands for "Markdown for C" and is a markdown parser available as a library and markdown to html commandline converter.

In the other systems

SystemPortVersion
NetBSDtextproc/md4c0.5.3
FreeBSDtextproc/md4c0.6.0
OpenBSDdevel/md4c0.5.2
DragonFlytextproc/md4c0.5.2

Install

Binary package:

pkgin install md4c

From pkgsrc:

cd /usr/pkgsrc/textproc/md4c && make install clean

Dependencies

Commit history 2

DateCommitCreditsLog message
bfeb2ad601 wiz md4c: downgrade to 0.5.3
breaks x11/qt6-qtbase
25ce075037 adam md4c: updated to 0.6.0
0.6.0 Add blank line preservation, enabled with the flag MD_FLAG_PRESERVEBLANKLINES. Add highlight span extension, enabled with the flag MD_FLAG_HIGHLIGHT. Add GFM-like footnote extension, enabled with the flag MD_FLAG_FOOTNOTES. Add extension recognizing GFM-like admonitions. Add extension recognizing superscripts and subscripts with ^superscript^ and ~subscript~ syntax respectively. Flags MD_FLAG_SUPERSCRIPTS and MD_FLAG_SUBSCRIPTS enable these extensions. Add extension recognizing spoilers with ||hidden text|| syntax. This follows syntax used by Telegram and Discord Markdown implementations. It needs to be explicitly enabled with MD_FLAG_SPOILERS. (Note though that the HTML renderer outputs them verbatim in a custom <x-spoiler> tag.)