1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-15 21:44:51 +02:00
Files
cheatsheets/markdown.md
Enrico Sacchetti d444d081d5 Feat/markdown tables (#665)
* docs(contributing): add yarn to one-time docker use

* feat(markdown): add lists and tables

- add h2 example
2018-11-07 13:53:22 -07:00

1.3 KiB

title, category, layout, prism_languages, updated, weight
title category layout prism_languages updated weight
Markdown Markup 2017/sheet
markdown
2017-09-20 -1

Reference

{:.-three-column}

Headers

# h1
## h2
### h3
Header 1
========
Header 2
--------

Emphasis

*italic*
_italic_
**bold**
__bold__
`code`

Lists

* Item 1
* Item 2
- Item 1
- Item 2
[link](http://google.com)
[link][google]
[google]: http://google.com
<http://google.com>

Images

![Image alt text](/path/to/img.jpg)
![Image alt text](/path/to/img.jpg "title")
![Image alt text][img]
[img]: http://foo.com/img.jpg

Code

    4 space indent
    makes a code block
```
code fences
```
```js
codeFences.withLanguage()
```

Blockquotes

> This is
> a blockquote
>
> > Nested
> > Blockquote

Horizontal line

----
****

Tables

| Column 1 Heading | Column 2 Heading |
| ---------------- | ---------------- |
| Some content     | Other content    |
Column 1 Heading | Column 2 Heading
--- | ---
Some content | Other content