An HTMLizer for Inform7 source
inform-htmlize.el is a utility written in Emacs lisp for
transforming Inform7 source code into a syntax-highlighted HTML
Invoke the interactive function
inform7-htmlize to open a new buffer
with the contents of the active region HTMLized. If there is no active
region the entire contents of the current buffer is used instead.
If invoked with the universal argument (
C-u M-x inform7-htmlize) a
standard HTML header and footer is added surrounding the HTMLized code
The supplied style sheet inform-htmlize.css can be used as a starting point for styling the generated HTML.
- It doesn't handle line breaks inside string literals well, but since the Inform editor usually stores code without line breaks it's not really that much of a problem.
- It doesn't handle comments at all.