Commit b0267447 authored by Holger Brandl's avatar Holger Brandl
Browse files

don't use hidden but visible file for markdown rendering

parent 203875fe
......@@ -45,10 +45,11 @@ if [[ ${mdFile: -3} != ".md" ]]; then
cd $(dirname ${mdFile})
tmpRmd=.$(basename ${mdFile} .md).Rmd
tmpRmd=$(basename ${mdFile} .md).Rmd
sed 's/```r/```{r}/g' ${mdFile} > ${tmpRmd}
rend.R --toc ${tmpRmd}
open .$(basename $1 .md).html
rm ${tmpRmd}
open $(basename $1 .md).html
export -f rendr_md
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment