Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 725 Bytes

README.md

File metadata and controls

46 lines (24 loc) · 725 Bytes

Markdown

Markdown parser for Io. Based on discount.

Installation

Using eerie:

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

Usage

Markdown

"# Hello" markdownToHTML // will return <h1>Hello</h1>

Tests

tests/OUTPUT.html is generated using markdown from 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

To run tests:

$ io tests/run.io