jakykong / vim-zim

Vim plugin to support working with Zim Desktop Wiki files
32 stars 4 forks source link

Include export feature ? #4

Open luffah opened 6 years ago

luffah commented 6 years ago

Given the template is the last thing we modify for a cute presentation, it could be useful to easily call the export from a zim html template. Given Zim don't allow yet to include medias in notes, it could be useful to allow pure html with char sequences remplacing '<' and '>'.

How i manually manage in my case... !zim --export -o $HOME --template presentation Notes 'Note:SubNote' -O -r -s sed 's/((/</g;s/))/>/g;s/file : /file:/g' "$HOME/SubNote/html" > /tmp/uptmp; cp /tmp/uptmp "$HOME/SubNote/html"