generator md: Simplify command
This commit is contained in:
parent
439f8997e4
commit
7370dcac20
25
qsgen2
25
qsgen2
@ -152,18 +152,19 @@ elif [[ ${generator} == "markdown" ]]; then
|
|||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
# Usage: ${engine} ${1} - Where 1 is the file you want parsed
|
# Usage: ${engine} ${1} - Where 1 is the file you want parsed
|
||||||
function engine() {
|
engine="/usr/bin/Markdown.pl"
|
||||||
|
# function engine() {
|
||||||
local command="/usr/bin/Markdown.pl"
|
#
|
||||||
local c-opts=
|
# local command="/usr/bin/Markdown.pl"
|
||||||
|
# local c-opts=
|
||||||
echo "$1" | $(command)
|
#
|
||||||
|
# $(command) "$1"
|
||||||
# Assign the output to the global variable named by $1
|
#
|
||||||
# eval "$1=\${result}"
|
# # Assign the output to the global variable named by $1
|
||||||
|
# # eval "$1=\${result}"
|
||||||
# echo "${(P)1}"
|
#
|
||||||
}
|
# # echo "${(P)1}"
|
||||||
|
# }
|
||||||
export file_ext=md
|
export file_ext=md
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user