An inferior IMO, but more simple solution, however,
would be to just install a wiki with full HTML support
at
http://wikimediafoundation.org and have all the
pages protected (or maybe just the ones that need
forms and other potentially dangerous stuff).
Very temporarily I've got it serving the raw source of certain pages
extracted from meta stuck into a slight template: