pandoc-md: add pandoc-md (simple markdown to html converter)
This commit is contained in:
parent
25f5bd3133
commit
ee9f7a5c23
1 changed files with 6 additions and 0 deletions
6
.config/shell/bin/pandoc-md
Executable file
6
.config/shell/bin/pandoc-md
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
if [ -f "$1.md" ]; then
|
||||||
|
pandoc -s "$1.md" -o "$1.html"
|
||||||
|
else
|
||||||
|
echo "Please specify a file name (without the .md extension)"
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue