Support rendering directly into document
release 0.5.0