Markdown-to-html in pure awk
Find a file
2024-09-09 00:29:01 +01:00
markdown.awk Add more edge cases to code and header handling 2024-09-09 00:29:01 +01:00
README.md Implement links 2024-09-09 00:28:57 +01:00
test.sh Add more edge cases to code and header handling 2024-09-09 00:29:01 +01:00

A markdown-to-html in pure awk

This awk script reads markdown files and generates html from them. Compared to other implementations of markdown in awk, it tries to do the right thing most of the time.

You can use markdown.awk to generate html pages from your plaintext notes, or send html emails with mutt.

This is a work in progress

Usage

You can try it out by converting this readme to html:

awk -f markdown.awk README.md

Features

Here's a list of supported markdown primitives

  • Headers
  • Paragraphs
  • Text formatting: bold
  • Code blocks
  • Blockquotes
  • Lists, both bulleted and numbered
  • Inline html (partial)
  • Links

License

Distributed under the terms of the BSD License