generator md: Capture output of markdown
This commit is contained in:
parent
476dff8dec
commit
14aba911bb
4
qsgen2
4
qsgen2
@ -156,7 +156,9 @@ elif [[ ${generator} == "markdown" ]]; then
|
|||||||
local command="/usr/bin/markdown"
|
local command="/usr/bin/markdown"
|
||||||
local c-opts="-d -n -s"
|
local c-opts="-d -n -s"
|
||||||
|
|
||||||
command c-opts "${1}" > "${1}"
|
local buffer=$(< <($(command) $c-opts "$1"))
|
||||||
|
|
||||||
|
echo "${buffer}"
|
||||||
}
|
}
|
||||||
export file_ext=md
|
export file_ext=md
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user