This is a simple utility, intended to make my life easier when editing asciidoc.
It will watch a .asciidoc file compiling it to HTML and displaying the new version whenver the original .asciidoc file is changed.
This is very convenient in combination with a tiling window manager: half of the screen is a Vim session with the asciidoc source, the other half is the HTML result. The HTML is updated whenever the edits to the source file are saved.
It can also be used with plain HTML (.html) files, in which case it will not attempt to call asciidoc.
- Why doesn’t this also include an editor?
-
Vim is better than anything I could come up with. Besides, Vim already exists.