QT asciidoc HTML viewer, with inotify
C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
CMakeLists.txt
LICENSE
README.asciidoc

README.asciidoc

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)?