package cmarker

  1. Overview
  2. Docs
Bindings for a local installation of CMark

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
md5=f0f55cf211f95beb3b61932fb50aaca4
sha512=db23078e35176edab5c13704414feb89a8d4885f73dc20e55a87ed9e346c5ae9c792c87c8c95033e9cc99c878b48598275cd9032ec139a67455caef94c067e66

Description

Published: 27 Aug 2019

README

cmarker

This is Pablo's fork of ocaml-cmark, originally by Jonathan Chan. I had need of the unsafe flag for my static site generator, and hadn't heard back, so I forked it. I may expand to include functions for "examining, modifying, and iterating over node data" which the original README says "shouldn't be hard to do, just tedious."

Since I'm not officially a new maintainer, I'm calling this one cmarker until I hear back 😛

Differences

  • Builds with Dune, formats with ocamlformat, because it's what I know.

  • Includes the Unsafe flag for parsing, since I need it for my blog.

Many thanks to jyc for the initial version.

ocaml-cmark

ocaml-cmark is an OCaml interface for the cmark CommonMark parsing and rendering library.

Before installing this, you must install cmark.

What's Implemented

All the parsing and rendering functions should be implemented.

The interface is listed in src/cmark.mli.

Dependencies (5)

  1. utop
  2. ctypes-foreign >= "0.4.0"
  3. ctypes >= "0.4.1"
  4. dune >= "1.11"
  5. ocaml

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.