SGML

Markdown Inline-Markup Examples

inline-html1
Basic inline HTML example
inline-html2
Inline markup with nested incomplete markdown; note that $productname will detect (and output an error message) when a markdown constructs is started in a markdown block but ended outside it; likewise, an error is detected when markdown syntax construct is started before, but ended within an inline markup block (TODO: see inline-html3, inline-html4 test), whereas other markdown implementations don't detect this

inline-html1

This is inline HTML <span>containing *markdown* syntax</span>
in element content.

Rendered HTML

<p>This is inline HTML <span>containing <em>markdown</em> syntax</span>
in element content.
</p>

inline-html2

This is inline HTML <span>where incomplete markdown syntax is *contained</span>,
in element content.

Rendered HTML

<p>This is inline HTML <span>where incomplete markdown syntax is *contained</span>,
in element content.
</p>