32 lines
371 B
Awk
32 lines
371 B
Awk
function h1( text ) {
|
|
|
|
println( "#" text );
|
|
}
|
|
|
|
function h2( text ) {
|
|
|
|
println( "##" text );
|
|
}
|
|
|
|
function h3( text ) {
|
|
|
|
println( "###" text );
|
|
}
|
|
|
|
function li( text ) {
|
|
|
|
println( "* " text );
|
|
}
|
|
|
|
function link( url, text ) {
|
|
|
|
println( "=> " url " " text );
|
|
}
|
|
|
|
function pre( text ) {
|
|
|
|
println( "```" );
|
|
println( text );
|
|
println( "```" );
|
|
}
|