common_mark

Crystal wrapper for libcmark, the reference CommonMark C library commonmark markdown
0.3.0 Latest release released

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):

dependencies:
  common_mark:
    github: ysbaddaden/crystal-cmark

This should automatically download and compile libcmark.

Usage

require "common_mark"
html = CommonMark.new(text).to_html

License

Distributed under the BSD 2 Clause license.

common_mark:
  github: ysbaddaden/crystal-cmark
  version: ~> 0.3.0
License BSD-2-Clause
Crystal 0.20.0

Dependencies 0

Development Dependencies 2

Dependents 1

Last synced .
search fire star recently