mirror of https://tildegit.org/ben/dotfiles
add markdown formatting function
parent
4d88215734
commit
4da01f4b90
|
@ -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
|
Loading…
Reference in New Issue