HTML Tags <=> Markdown Quick Reference @ Write Kit

Waylan Limberg waylan.limberg at icloud.com
Tue Aug 4 08:13:42 EDT 2015


It is vary unusual for Markdown parsers to return <b> and <i> tags. Usually, <strong> and <emphasis> are used instead. See Babelmark for an example: 

http://johnmacfarlane.net/babelmark2/?normalize=1&text=*italic*+%26+**bold**

Also, most older implementations return XHTML Tags like <br /> and <hr /> rather than there HTML counterparts. In the age of HTML5, this doesn't really matter much (for most users), but back when they were first created it was important to having valid XHTLM (the new hotness of the time). Of note is the fact that <b> and <i> are not valid XHTML tags (IIRC). Thus the use of <strong> and <emphasis>.

Waylan Limberg

> On Aug 4, 2015, at 5:16 AM, Gerald Bauer <gerald.bauer at gmail.com> wrote:
> 
> Hello,
> 
>  I've started a quick reference that lists all HTML tag with Markdown
> "short codes" [1]. The tags include:
> 
> HTML                            | Notes
> ------------------------------- | ---------------------
> <h1>...</h1> - <h6>...</h6>     | Heading 1-6
> <p>...</p>                      | Paragraph
> <br>                            | Hard Line Break
> <i>...</i>                      | Italic Text (Emphasis)
> <b>...</b>                      | Bold Text (Strong Emphasis)
> <code>...</code>                | Code (Monospace Text)
> <del>...</del>                  | Deleted (Strikethrough) Text
> <ul>(<li>...</li>)+</ul>        | Unordered List
> <ol>(<li>...</li>)+</ol>        | Ordered (Numbered) List
> <a href="...">...</a>           | Link
> <img src="..." alt="...">                   | Image (with Alternative Text)
> <table>(<tr>(<td>...</td>)+</tr>)+</table>  | Table
> <pre><code>...</code></pre>                 | Preformatted Code Block
> <blockquote>...<blockquote>                 | Blockquote
> <hr>                            | Horizontal Rule
> <!-- ... -->                    | Comments
> 
> 
>  Any tags missing? Let us know. Cheers
> 
> [1] https://github.com/writekit/quickrefs/blob/master/HTML.md
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> https://pairlist6.pair.net/mailman/listinfo/markdown-discuss


More information about the Markdown-Discuss mailing list