diff options
Diffstat (limited to 'panupdate')
| -rwxr-xr-x | panupdate | 6 | 
1 files changed, 4 insertions, 2 deletions
@@ -8,12 +8,14 @@ do          then              newfile=$(sed "s/\.md\///; s/md/html/" <<< $file)              echo "Saved "$file" to "$newfile -            pandoc --ascii -f markdown-smart $file -t html -o $newfile +            pandoc -s --toc --toc-depth=6 \ +                 --ascii -V toc-title:"Contents" \ +                -f markdown-smart $file -t html -o $newfile          fi          if [[ "$file" == *.description ]]          then              newfile=$(sed "s/\.md\///" <<< $file) -            cp -v $file $newfile +            cp -vf $file $newfile          fi      done  done  | 
