kakoune plugin to live preview markdown files with livedown
Add livedown.kak
to your autoload dir: ~/.config/kak/autoload/
.
livedown
must be installed on your system:
$ npm install -g livedown
livedown-start
runs a livedown process in the background listening on PORT livedown_port
option.
Your default browser is launched to display the current buffer file rendered to HTML.
livedown-start-with-write-on-idle
runs livedown-start
and additionally sets up hooks
to write the buffer on InsertIdle
and NormalIdle
for immediate feedback.
Use livedown-stop
to kill the background process and remove any idle hooks associated with the buffer.
MIT