Pass options the same way as in the indent function
Add support for the doctype option in the indent functions