add markdown formatting function

master
Ben Harris 2019-09-24 10:08:43 -04:00
parent 4d88215734
commit 4da01f4b90
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
function mdfmt
for md in $argv
pandoc \
-f markdown+yaml_metadata_block \
-t markdown+yaml_metadata_block \
--atx-headers \
-o $md $md
end
end