common_mark
Version, currently 0.3.02 versions
- 0.3.0latestSep 10, 2019
- 0.1.0not indexedNov 25, 2021
github.com/ysbaddaden/crystal-cmark
libcmark bindings, the reference CommonMark C library
19 stars
1 dependent
License: BSD-2-Clause
Installation
# Add this to your shard.yml
dependencies:
common_mark:
github: ysbaddaden/crystal-cmark
version: ~> 0.3.0Then run:
shards installshard.yml
- Crystal
0.20.0- License
- BSD-2-Clause
Dependencies
Development Dependencies
- minitest*github: ysbaddaden/minitest.crdev
- crystal_lib*github: manastech/crystal_libdev
README
# CommonMark
Crystal wrapper for libcmark, the reference CommonMark C library.
## Install
Add the dependency to `shard.lock`, then run `crystal deps install`
(or `shards install`):
```yaml
dependencies:
common_mark:
github: ysbaddaden/crystal-cmark
```
This should automatically download and compile libcmark.
## Usage
```crystal
require "common_mark"
html = CommonMark.new(text).to_html
```
## License
Distributed under the [BSD 2 Clause](http://opensource.org/licenses/BSD-2-Clause) license.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.3.0- Tagged
- Sep 10, 2019
- Commit
e59ce43579f3- Crystal
0.20.0- Indexed
- yes
Dependents
Repository
github.com/ysbaddaden/crystal-cmark
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 2