Support render HTML directly by console command

Inherited from https://github.com/keitheis/Plim/pull/2