r4ds/rmarkdown/markdown.Rmd

49 lines
896 B
Plaintext
Raw Normal View History

2016-08-22 22:31:17 +08:00
Text formatting
------------------------------------------------------------
2016-08-26 05:44:14 +08:00
*italic* or _italic_
2016-08-22 22:31:17 +08:00
**bold** __bold__
`code`
2016-08-26 05:44:14 +08:00
superscript^2^ and subscript~2~
2016-08-22 22:31:17 +08:00
Headings
------------------------------------------------------------
# 1st Level Header
## 2nd Level Header
### 3rd Level Header
Lists
------------------------------------------------------------
* Bulleted list item 1
* Item 2
* Item 2a
* Item 2b
1. Numbered list item 1
2016-08-23 04:27:54 +08:00
1. Item 2. The numbers are incremented automatically in the output.
2016-08-22 22:31:17 +08:00
2016-08-26 05:44:14 +08:00
Links and images
2016-08-22 22:31:17 +08:00
------------------------------------------------------------
<http://example.com>
[linked phrase](http://example.com)
![optional caption text](path/to/img.png)
2016-08-23 04:27:54 +08:00
Tables
2016-08-22 22:31:17 +08:00
------------------------------------------------------------
First Header | Second Header
------------- | -------------
Content Cell | Content Cell
Content Cell | Content Cell