feat: minor improvements
This commit is contained in:
5
tasks/preview-doc.sh
Normal file → Executable file
5
tasks/preview-doc.sh
Normal file → Executable file
@@ -1 +1,4 @@
|
||||
docs="$(ls -R . | grep "\.md")"
|
||||
[[ $# -ne 1 ]] && exit 1;
|
||||
FILE_NAME="md_preview_intex.html"
|
||||
fswatch -0 "$1" | pandoc -f markdown $1 > $FILE_NAME && surf $FILE_NAME
|
||||
rm $FILE_NAME
|
||||
|
||||
Reference in New Issue
Block a user