adds options for output and templates to htmlize