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
- Host: GitHub
- URL: https://github.com/caolan/chicken-cmark
- Owner: caolan
- Created: 2015-08-21T10:48:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-21T11:00:32.000Z (almost 11 years ago)
- Last Synced: 2025-04-07T13:51:16.197Z (about 1 year ago)
- Language: Scheme
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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