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
- Host: GitHub
- URL: https://github.com/iolanguage/markdown
- Owner: IoLanguage
- License: mit
- Created: 2018-01-05T13:03:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-03T13:51:35.000Z (over 5 years ago)
- Last Synced: 2025-01-21T00:48:47.531Z (over 1 year ago)
- Topics: discount, markdown-parser
- Language: C
- Size: 1.44 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```