An open API service indexing awesome lists of open source software.

https://github.com/iolanguage/markdown

Markdown parser for Io
https://github.com/iolanguage/markdown

discount markdown-parser

Last synced: about 2 months ago
JSON representation

Markdown parser for Io

Awesome Lists containing this project

README

          

# Markdown

Markdown parser for Io. Based on [discount](https://github.com/Orc/discount).

## Installation

Using [eerie](https://github.com/AlesTsurko/eerie):

```
eerie install https://github.com/AlesTsurko/Markdown.git
```

## Usage

```Io
Markdown

"# Hello" markdownToHTML // will return

Hello


```

## Tests

`tests/OUTPUT.html` is generated using `markdown` from
[discount](https://github.com/Orc/discount) with this command:

```
markdown -oOUTPUT.html -fnopants,fencedcode,githubtags,urlencodedanchor TEST.md
```

The `tests/TEST.md` is from this repository:
[https://github.com/mxstbr/markdown-test-file](https://github.com/mxstbr/markdown-test-file)

To run tests:

```shell
$ io tests/run.io
```