SGML

Markdown Inline-Markup Examples

inline-html1
Basic inline HTML example
inline-html2
Inline markup with nested incomplete markdown; note that sgmljs.net SGML will detect (and output an error message) when markdown constructs are started in a markdown block but ended outside of it; likewise, an error is detected when a markdown syntax construct is started before, but ended within an inline markup block
Note: To produce HTML from the example markdown sources, copy and paste an example source, store it into a file with the ".md" file extension, and invoke
sgmlproc <your-file.md>
where <your-file.md> is replaced by the actual file used for storing.

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>