Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huacnlee/remarkdown
This is extends of Markdown lib from Crystal Stdlib for Support Markdown GFM.
https://github.com/huacnlee/remarkdown
crystal markdown
Last synced: 30 days ago
JSON representation
This is extends of Markdown lib from Crystal Stdlib for Support Markdown GFM.
- Host: GitHub
- URL: https://github.com/huacnlee/remarkdown
- Owner: huacnlee
- License: mit
- Archived: true
- Created: 2017-03-16T09:27:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T10:49:22.000Z (over 7 years ago)
- Last Synced: 2024-08-03T17:13:46.652Z (4 months ago)
- Topics: crystal, markdown
- Language: Crystal
- Size: 9.77 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - remarkdown - GFM for Crystal (Markdown/Text Processors)
README
Remarkdown
==========[![Build status](https://travis-ci.org/huacnlee/remarkdown.svg?branch=master)](https://travis-ci.org/huacnlee/remarkdown)
This is extends of Markdown lib from Crystal Stdlib for Support Markdown GFM.
## Features
- Built on Crystal stdlib [Markdown](https://crystal-lang.org/api/0.21.1/Markdown.html) to implement like Markdown GFM.
- **space_after_headers** - `# Hello` not `#Hello`
- Add `id` attribute for Heading `Hello world
`.
- **strikethrough** : `~~Foo~~` to `Foo`## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
remarkdown:
github: huacnlee/remarkdown
```## Usage
```crystal
require "remarkdown"Remarkdown.to_html("Hello **world**")
```