Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.06 KB

README.asciidoc

File metadata and controls

40 lines (33 loc) · 1.06 KB

Introduction

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.

Build Requirements

  • cmake (2.8+)

  • libqt4-dev

  • libqtwebkit-dev

Usage

# ./qinotify README.asciidoc

FAQ

Why doesn’t this also include an editor?

Vim is better than anything I could come up with. Besides, Vim already exists.

TODO

  • Add a status bar (bottom, below HTML view) with last updated time.

  • Improved sizing policy for the error box

  • Add quit button (optional..)

  • Additional viewer support (i.e. for .sdedit PNGs)?