Mawkdown is a toy markdown parser written in AWK
It requires GAWK, because it uses the match function.
Generate html from the README:
awk -f mawkdown.awk README.mdOpen README in firefox:
awk -f mawkdown.awk README.md | ./pipefox.shOr something simpler:
echo -e "# title\n## subtitle" | awk -f mawkdown.awkNow look at this fine rust code:
let x = 5;
printf!("{} + {} = {}", x, x, x + x);
here's a link to my other project called digester.
this is not the first time I'm having fun with AWK: awk-jvm.
and here's some quoted text
what does the above code do?
- store the value 5 in the variable x
- call the printf macro
italic with underscores
bold with asterisks
bold with underscores
italic with asterisks
(note that pipefox does not work with relative images)
basically any line can only contain one thing
- formatting within a list does not work
- langauge-specific formatting