Specify the output options
Use the emit option to specify which computer language specification to use for the final output document.
emit option is used to specify the computer language specification to follow to produce the final output document. BLUE-PHRASE can be used to create files that are needed in a wide range of solutions, including markup languages, text documents, and serializing data structures. By default, the output is HTML.
indent option is used to specify how structured markup is indented. By default, structured output is indented with tabs. Use the
indent option to change this to spaces or to emit without indentation.
fragment option is used to control the automatic inclusion of
body elements, which are needed by HTML. The default is
html-target option is used to control the inclusion of the XML namspace declaration required in ePub documents.
To change the defaults, use the
|html||Emits HTML conforming markup|
|xml||Emits XML conforming markup|
|wiki||Emits output that is understandable to wikitext readers|
|md||Emits output that is understandable to markdown readers|
|ghfm||Emits output in Github-flavored markdown format|
|txt||Emits only the subject matter of each phrase, without any semantax or shorthand directives|
|blue||Emits BLUE-PHRASE in canonicalized form|
Serialized data structures
|yaml||Emits output that conforms to the requirements for YAML Ain't Markup Language|
|haml||Emits output that conforms to the requirements for HTML Abstraction Markup Language|
|toml||Emits output that conforms to the requirements for Tom's Obvious Minimal Language|
|plist||Emits output that conforms to the requirements for Apple property lists|
|ini||Emits output that conforms to the loose rules created for Windows 3.1 configuration files, and later used for Linux configuration files as well|
When the default
nofragment option is enabled, the
html emitter will automatically use the following template to create any missing
html emitter will normally produce output files that comply with the HTML5 specification. This is a good default for websites. To change the output to conform to ePUB standards, specify the
epub option. It will produce documents with the required xml namespace declarations.