An open API service indexing awesome lists of open source software.

https://github.com/caolan/chicken-cmark

CommonMark parser for CHICKEN Scheme
https://github.com/caolan/chicken-cmark

Last synced: 4 months ago
JSON representation

CommonMark parser for CHICKEN Scheme

Awesome Lists containing this project

README

          

## Installation

```bash
chicken-install cmark
```

You **must** also install [cmark][cmark], since the egg uses the
`libcmark.so` shared library - If your package manager doesn't provide
a cmark package, you can install [from source][cmark] using the usual
`make && make install` dance.

## Usage

```scheme
(use cmark)

(commonmark->html "# Hello world!")

;; for embedded HTML support, turn off safe mode:
(commonmark->html "alert('hello');" safe: #f)
```

[cmark]: https://github.com/jgm/cmark