BSD Ports

textproc/cmark 0.31.2 NetBSD

CommonMark parsing and rendering library and program in C

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
2-clause-bsd
Categories
textproc
Package size
74.6 KiB, 219.2 KiB installed

Description

cmark is the C reference implementation of CommonMark, a rationalized version of Markdown syntax with a spec.

It provides a shared library (libcmark) with functions for parsing CommonMark documents to an abstract syntax tree (AST), manipulating the AST, and rendering the document to HTML, groff man, LaTeX, CommonMark, or an XML representation of the AST. It also provides a command-line program (cmark) for parsing and rendering CommonMark documents.

In the other systems

SystemPortVersion
NetBSDtextproc/cmark0.31.2
FreeBSDtextproc/cmark0.31.1
OpenBSDtextproc/cmark0.30.3p0
DragonFlytextproc/cmark0.31.1
MidnightBSDtextproc/cmark0.30.3_2

Install

Binary package:

pkgin install cmark

From pkgsrc:

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

Dependencies

Required by 2