about summary refs log blame commit diff stats
path: root/gemtohtm
blob: 0f0d038356eac0579fc1a6b2486db8d9eceb8e73 (plain) (tree)
1
2
3
4
5




                                                                                 
$1 == "#" { print "<h1>", $0, "</h1>"; next}
$1 == "##" { print "<h2>", $0, "</h2>"; next}
$1 == "###" { print "<h3>", $0, "</h3>"; next}
$1 == "=>" { print "<a href=\"", $2, "\">" substr($0,index($0,$3)), "</a>"; next}
{ print }