Your resource for web content, online publishing
and the distribution of digital products.
S M T W T F S
 
 
 
 
 
1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
 
 
 
 
 
 
 
 
 
19
 
20
 
21
 
22
 
23
 
24
 
25
 
26
 
27
 
28
 
29
 
30
 

The Dead Simple Markdown Guide to HTML

DATE POSTED:August 20, 2024
HTML

Many Markdown applications allow you to use HTML tags in Markdown-formatted text. This is helpful if you prefer certain HTML tags to Markdown syntax. For example, some people find it easier to use HTML tags for images. Using HTML is also helpful when you need to change the attributes of an element, like specifying the color of text or changing the width of an image.

\ To use HTML, place the tags in the text of your Markdown-formatted file.

\

This **word** is bold. This word is italic.

\ The rendered output looks like this:

\ This word is bold. This word is italic.

HTML Best Practices

For security reasons, not all Markdown applications support HTML in Markdown documents. When in doubt, check your Markdown application’s documentation. Some applications support only a subset of HTML tags.

\ Use blank lines to separate block-level HTML elements like 

, , 
, and 

 from the surrounding content. Try not to indent the tags with tabs or spaces — that can interfere with the formatting.

\ You can’t use Markdown syntax inside block-level HTML tags. For example, 

italic and **bold**

 won’t work.

\

:::info This guide is a Matt Cone project available on Markdown Guide under the CC BY-SA 4.0 license.

:::

\