A simple and (currently) incomplete Markdown to HTML converter I put together in a night and am working on while learning Haskell.
This is currently an incomplete version with numerous bugs and will surely not adhere to the standards.
Building using ghc
.
ghc markdown.hs
Write the Markdown through STDIN and read it from STDOUT.
cat md.md | ./markdown | cat > md.html
Currently, the program can take a single 'styles.css' file and use its CSS.
Marko converts the following Markdown to HTML (with a custom CSS style):
# Report
## About
This is the-bokya!
He is:
1. The ***best***!
2. The **bokya**!
+ yo!
+ bro!
Result: