Inline HTML
The common markup language for web technology, HTML, can be used in Markdown documents mixed with text and other inline elements. Refer to W3Schools' HTML Tutorial to learn more about how to write and use HTML.
Syntax
Inline HTML is created by writing a valid HTML fragment in an area where other inline content exists.
Basics
Simple Inline HTML using a strong element.
Write words with <strong>bold</strong> emphasis.
Markdown and Inline HTML
Markdown syntax can be mixed with Inline HTML.
We can <span>write **bold** text</span>.
Markdown++
A custom Character Style can be given to Inline HTML using a Markdown++ style tag directly before the Inline HTML.
Styling <!--style:CustomHTML--><span>inline HTML. Style name "CustomHTML".</span>
To learn more about Markdown++ tagging, see Learning Markdown++.
ePublisher Style Information
Style Behavior
All HTML fragments are wrapped in a container element, which is given a style name. The default name is HTML, but can also be a custom name if the style tag is used directly before an HTML fragment.
HTML is unavailable for publishing in PDF or PDF XSL-FO output due to incompatibility with those technologies. ePublisher will remove any HTML content it detects before generating PDF output.
Default Style Properties
Style Type: Character
Style Name: HTML
If a custom style name is assigned to Inline HTML, that style name will still inherit all of the listed default style information.
Was this helpful?
Last modified date: 11/12/2021