Ответ 1
Исходная реализация Markdown (от Gruber) и PHP Markdown не форматирует HTML-элементы блочного уровня, поэтому вы можете использовать <div>
, например:
Markdown text.
More markdown text.
<div>
Markdown ignores inside the div, you can do all sorts of crazy stuff:
<a href="http://www.stackoverflow.com">Stack Overflow</a>.
<blink>Is blink still supported?</blink>
</div>
Yet more markdown text.
Будет отображаться как:
<p>Markdown text.</p>
<p>More markdown text.</p>
<div>
Markdown ignores inside the div, you can do all sorts of crazy stuff:
<a href="http://www.stackoverflow.com">Stack Overflow</a>.
<blink>Is blink still supported?</blink>
</div>
<p>Yet more markdown text.</p>