Skip to content

Latest commit

 

History

History
204 lines (125 loc) · 3.74 KB

example.md

File metadata and controls

204 lines (125 loc) · 3.74 KB

Markdown

Basics

This is a paragraph. Soft linebreak.

This is an another paragraph.
Hard linebreak. (Because of two spaces.)

single asterisks or single underscores

double asterisks or double underscores

regular bold bold italic

Inline code

Strikethrough: something wrong (extension)

Subscript: H2O (extension)

Superscript: x^2^, October 31^st^ (extension)

Escaping: \ ` * _ {} [] () # + - . !

Diacritics: Příliš žluťoučký kůň úpěl ďábelské ódy.

Headers

H3

H4

H5
H6

####### H7

H3 - formatted

Links

Email link: address@example.com

Autolink: http://google.com/

Autolink: http://google.com/ (extension, disabled by default)

Normal link 1: Google

Normal link 2: Yahoo

Normal link 3: http://search.msn.com/

Link with formatting 1: Google something

Link with formatting 2: Google

Image inside link: Image inside smile link

References

Ref. link 1: Google

Ref. link 2: 1

Ref. link 3: Yahoo

Ref. link broken: [Text][xxx]

Lists

  1. First ordered list item

  2. Another item

    • Unordered sub-list.
  3. Actual numbers don't matter, just that it's a number

    1. Ordered sub-list
  4. And another item.

    This is a paragraph. Soft linebreak.

    Regular, code, italic bold bold italic.

  • Unordered list can use asterisks
  • Or minuses
  • Or pluses

Tables (extension)

Command Description
git status List all new or modified files
git diff Show file differences that haven't been staged
Left-aligned Center-aligned Right-aligned
git status git status git status
git diff git diff git diff

Code Blocks

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) {
  return bar++;
};

console.log(foo(5));

After each other...

Block #1
Block #2

Quote Blocks

Lorem ipsum dolor sit amet, consectetur adipiscing elit

Some regular text.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, quis nostrud exercitation ullamco.

Images

png jpg

Reference-style:

alt text

Broken reference: ![alt text][xxx]

Emoji (extension)

Some animals: 🐙 🐖 🐊

Smiles: 😕 😢 😩

Wrong: :rtrtrtrtrt:

HTML

Entities

A paragraph with some HTML entities: © ¶ € ň.

Inside inline code: © ¶ € ň.

Formatted: © ¶ € ň

HTML comments

regular text (1 of 2) regular text (2 of 2)

HTML snippets (not supported)

London

London is the capital city of England.

Some paragraph with HTML.

Horizontal Rules