Home
Title: Minimalistic markdown subset to html converter using awk Author: Solène Date: 26 August 2019 Tags: unix awk Description: Hello As on my blog I use different markup languages I would like to use a simpler markup language not requiring an extra package. To do so, I wrote an awk script handling titles, paragraphs and code blocks the same way markdown does. **16 December 2019 UPDATE**: adc sent me a patch to add ordered and unordered list. Code below contain the addition. It is very easy to use, like: `awk -f mmd file.mmd > output.html` The script is the following: BEGIN { in_code=0 in_list_unordered=0 in_list_ordered=0 in_paragraph=0 } dataswamp.org:70 /~solene/article-minimal-markdown:30: port field too long