Skip to content

Latest commit

 

History

History
241 lines (151 loc) · 5.81 KB

index.md

File metadata and controls

241 lines (151 loc) · 5.81 KB

h1 Heading

Lorem phasellus ipsum sagittis

h2 Heading

Lorem phasellus ipsum sagittis

h3 Heading

Lorem phasellus ipsum sagittis

h3 Heading

Lorem phasellus ipsum sagittis

h4 Heading

Lorem phasellus ipsum sagittis

h4 Heading

Lorem phasellus ipsum sagittis

h5 Heading

Lorem phasellus ipsum sagittis

h5 Heading

Lorem phasellus ipsum sagittis

h6 Heading

Lorem phasellus ipsum sagittis

h6 Heading

Lorem phasellus ipsum sagittis

Horizontal Rules




Typographic replacements

Enable typographer option to see result.

(c) (C) (r) (R) (tm) (TM) (p) (P) +-

test.. test... test..... test?..... test!....

!!!!!! ???? ,, -- ---

"Smartypants, double quotes" and 'single quotes'

Emphasis

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough

Blockquotes

Blockquotes can also be nested...

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

...or with spaces between arrows.

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 Lorem phasellus ipsum sagittis imperdiet lobortis mauris habitant tellus at, nulla dapibus quis varius felis mi himenaeos non, taciti sociosqu odio ante elit porta turpis mattis. Magnis finibus at montes curae et vivamus sit, litora sollicitudin erat commodo nascetur accumsan magna, cubilia pharetra lobortis augue cras dictum. Platea nulla sit tempus orci ad massa habitasse euismod, mi purus lacinia nam quisque facilisis dui, dolor in eleifend fusce nec fames conubia. Nisl neque parturient aptent cubilia porta vivamus nisi, ad proin efficitur morbi praesent velit himenaeos, suscipit tempus rhoncus ullamcorper dignissim ante. Torquent cras lorem velit nibh phasellus dignissim laoreet, tellus quam tincidunt nisi venenatis dictum tristique habitant, fringilla eleifend ornare in suspendisse nulla.:
      • 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 2.2 Tortor montes tellus turpis parturient

  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

Code

Inline code

Indented code

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

Block code "fences"

Sample text here...

Syntax highlighting

var foo = function (bar) {
  const bar = 'baz'
  let fuzz = 123
  return bar++
}

// some comment

console.log(foo(1234))
console.err('Warning')

Tables

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

Right aligned columns

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

Links

link text

link with title

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

Images

Minion 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.

Classic markup: 😉 :crush: 😢 :tear: 😆 😋

Shortcuts (emoticons): :-) :-( 8-) ;)

see how to change output with twemoji.

  • 19^th^
  • H2O

++Inserted text++

==Marked text==

Footnote 1 link1.

Footnote 2 link2.

Inline footnote^[Text of inline footnote] definition.

Duplicated footnote reference2.

Term 1

: Definition 1 with lazy continuation.

Term 2 with inline markup

: Definition 2

    { some code, part of Definition 2 }

Third paragraph of definition 2.

Compact style:

Term 1 ~ Definition 1

Term 2 ~ Definition 2a ~ Definition 2b

This is HTML abbreviation example.

It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.

*[HTML]: Hyper Text Markup Language

::: warning here be dragons :::

Footnotes

  1. Footnote can have markup

    and multiple paragraphs.

  2. Footnote text. 2