Markdown syntax guide

Headers

This is a Heading h1

This is a Heading h2

This is a Heading h3

This is a Heading h4

This is a Heading h5
This is a Heading h6

Emphasis

This text will be italic
This will also be italic

This text will be bold
This will also be bold

You can combine them

Lists

Unordered

Ordered

  1. Item 1
  2. Item 2
  3. Item 3
    1. Item 3a
    2. Item 3b

Checklist

Images

This is an alt text.

Side by side images

2 Images

First ImageSecond Image

3 Images

First ImageSecond ImageThird Image

Mixed Content

First Image

Dynamic Text Box

You may be using Markdown Live Preview.

Blockquotes

Markdown is a lightweight markup language with plain-text-formatting syntax, created in 2004 by John Gruber with Aaron Swartz.

Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.

Blocks of code

let message = "Hello world";
alert(message);

Inline code

This web site is using markedjs/marked.

Tables

Left columnsRight columns
left fooright foo
left barright bar
left bazright baz

Embedded CSV

Here is the data from example.csv:

abcdefghijklmnopqrstuvwxyz
1234567891011121314151617181920212223242526
1234567891011121314151617181920212223242526
1234567891011121314151617181920212223242526
1234567891011121314151617181920212223242526

LaTeX

Overflow Testing

Wide Table

Column 1Column 2Column 3Column 4Column 5Column 6Column 7Column 8
This is a very wide table with a lot of columns to test the horizontal scroll functionality.More data here to fill the width and ensure it overflows.Extra content.More data.Yet more data.Constant data.Still more.The final column.

Long Code Block

const veryLongLine = "This is a very long line of code that should definitely cause a horizontal scroll on smaller viewports and even on desktop if the container is narrow enough to prevent it from fitting completely within the specified maximum width of the parent component.";

Unbound Width Component

This component is explicitly set to 150% width and should scroll horizontally without breaking the page layout.

Citations

Standard citation: Nash (1950)

In-text citation: (Doe, 2020)

Multiple citations: (Doe, 2020; Nash, 1950)

References

Doe, J. (2020). A made up article. Journal of Non-Existence.
Nash, J. (1950). Equilibrium points in n-person games. Proceedings of the National Academy of Sciences, 36(1), 48–49.