Skip to content

IoLanguage/Markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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