Skip to main content

Markdown page example


h1 Heading

# h1 Heading

h6 Heading​
###### h6 Heading

Horizontal Rules​

--- or --- or ***

Emphasis​

This is bold text

**This is bold text**
__This is bold text__

This is italic text

*This is italic text*
_This is italic text_

Strikethrough

~~Strikethrough~~

Blockquotes​

Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.

> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.

Add title on block​

docs/hello.md
# Hello

This is my **first Docusaurus document**!

Lists​

Unordered​

  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:
      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!
  + Create a list by starting a line with `+`, `-`, or `*`
+ Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
+ Very easy!

Ordered​

  1. Lorem ipsum dolor sit amet

  2. Consectetur adipiscing elit

  3. Integer molestie lorem at massa

  4. You can use sequential numbers...

  5. ...or keep all the numbers as 1.

Start numbering with offset:

  1. foo
  2. bar
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa


1. You can use sequential numbers...
1. ...or keep all the numbers as `1.`

Start numbering with offset:

57. foo
1. bar

Code​

Inline code

Inline `code`

Indented code = changebackground​

//Some comments line 1 of code line 2 of code line 3 of code


Syntax highlighting

var foo = function (bar) {
return bar++;
};

console.log(foo(5));
``` js
var foo = function (bar) {
return bar++;
};

console.log(foo(5));
\```

Tables​

OptionDescription
datatemplates.
enginedefault.
extfiles.

| Option | Description |
| ------ | ----------- |
| data | templates. |
| engine | default. |
| ext | files. |

Right aligned columns

OptionDescription
datawill be passed into templates.
engineHandlebars is the default.
extfiles.
| Option | Description |
| ------:| -----------:|
| data | will be passed into templates. |
| engine | Handlebars is the default. |
| ext | files. |

link text

[link text](http://dev.nodeca.com)

link with title

[link with title](http://nodeca.github.io/pica/demo/ "title text!")

Autoconverted link https://github.com/nodeca/pica (enable linkify to see)


Images​

Stormtroopocat

![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")

Like links, Images also have a footnote style syntax

Alt text

With a reference later in the document defining the URL location:

Plugins​

The killer feature of markdown-it is very effective support of syntax plugins.

Footnotes​

Footnote 1 link1.

Footnote 2 link2.

Inline footnote^[Text of inline footnote] definition.

Duplicated footnote reference2.

Footnotes​

  1. Footnote can have markup

    and multiple paragraphs. ↩

  2. Footnote text. ↩ ↩2