common_mark

Version, currently 0.1.02 versions

github.com/ysbaddaden/crystal-cmark

libcmark bindings, the reference CommonMark C library

19 stars
1 dependent
License: BSD-2-Clause

Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  common_mark:
    github: ysbaddaden/crystal-cmark
    version: ~> 0.1.0

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.1.0. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

# 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.