-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeromy Anglim
committed
Jul 16, 2012
1 parent
88c432c
commit b99ea1e
Showing
40 changed files
with
3,439 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
305 changes: 305 additions & 0 deletions
305
examples/markdown-introduction/markdown-introduction.html
Large diffs are not rendered by default.
Oops, something went wrong.
136 changes: 136 additions & 0 deletions
136
examples/markdown-introduction/markdown-introduction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
## Basic markdown functionality | ||
|
||
# Heading 1 | ||
## Heading 2 | ||
### Heading 3 | ||
#### Heading 4 | ||
|
||
|
||
|
||
|
||
|
||
|
||
### Basic formatting | ||
Bold text: **Bold text** | ||
Italics text: *italics text* | ||
|
||
### Paragraphs | ||
Insert blank line: | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
|
||
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
|
||
|
||
### Dot Points | ||
Simple dot points: | ||
|
||
* Point 1 | ||
* Point 2 | ||
* Point 3 | ||
|
||
and numeric dot points: | ||
|
||
1. Number 1 | ||
2. Number 2 | ||
3. Number 3 | ||
|
||
and nested dot points: | ||
|
||
* A | ||
* A.1 | ||
* A.2 | ||
* B | ||
* B.1 | ||
* B.2 | ||
|
||
|
||
|
||
### Equations | ||
Uses Mathjax to support LaTeX equations. | ||
|
||
Inline equations: e.g., $y_i = \alpha + \beta x_i + e_i$. | ||
|
||
Displayed equations: | ||
|
||
$$ | ||
\frac{1}{1+\exp(-x)} | ||
$$ | ||
|
||
|
||
|
||
### Hyperlinks | ||
|
||
* [my RSS feed](http://feeds.feedburner.com/jeromyanglim). | ||
* <http://www.r-project.org/> | ||
|
||
|
||
|
||
### Images | ||
|
||
![image description here](figure/buildings.jpg) | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
### Code | ||
Inline code between backticks: e.g., `print('hello world!')`. | ||
|
||
Displayed code can be tab indented or four space indented: | ||
|
||
```{r} | ||
x <- 1:10 | ||
x | ||
``` | ||
|
||
|
||
### Quote | ||
Quotes by adding greater than to start of each line. | ||
|
||
> To be, or not to be, that is the question: | ||
> Whether 'tis nobler in the mind to suffer | ||
> The slings and arrows of outrageous fortune, | ||
|
||
### Tables | ||
Extended github table functionality: | ||
|
||
A | B | C | ||
--- | --- | --- | ||
1 | Male | Blue | ||
2 | Female | Pink | ||
|
||
Or just write HTML: | ||
|
||
<table border="1"> | ||
<tr> | ||
<td>Cell A1</td> | ||
<td>Cell B1</td> | ||
</tr> | ||
<tr> | ||
<td>Cell A2</td> | ||
<td>Cell B2</td> | ||
</tr> | ||
</table> | ||
|
||
|
||
|
||
### HTML is passed through | ||
Hyperlink | ||
<a href="http://jeromyanglim.blogspot.com">My website</a> | ||
|
||
E.g., new line | ||
<hr /> | ||
|
||
HTML Symbol Entities | ||
|
||
α β ™ | ||
|
||
|
||
|
||
|
||
|
||
|
136 changes: 136 additions & 0 deletions
136
examples/markdown-introduction/markdown-introduction.rmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
## Basic markdown functionality | ||
|
||
# Heading 1 | ||
## Heading 2 | ||
### Heading 3 | ||
#### Heading 4 | ||
|
||
|
||
|
||
|
||
|
||
|
||
### Basic formatting | ||
Bold text: **Bold text** | ||
Italics text: *italics text* | ||
|
||
### Paragraphs | ||
Insert blank line: | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
|
||
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
|
||
|
||
### Dot Points | ||
Simple dot points: | ||
|
||
* Point 1 | ||
* Point 2 | ||
* Point 3 | ||
|
||
and numeric dot points: | ||
|
||
1. Number 1 | ||
2. Number 2 | ||
3. Number 3 | ||
|
||
and nested dot points: | ||
|
||
* A | ||
* A.1 | ||
* A.2 | ||
* B | ||
* B.1 | ||
* B.2 | ||
|
||
|
||
|
||
### Equations | ||
Uses Mathjax to support LaTeX equations. | ||
|
||
Inline equations: e.g., $y_i = \alpha + \beta x_i + e_i$. | ||
|
||
Displayed equations: | ||
|
||
$$ | ||
\frac{1}{1+\exp(-x)} | ||
$$ | ||
|
||
|
||
|
||
### Hyperlinks | ||
|
||
* [my RSS feed](http://feeds.feedburner.com/jeromyanglim). | ||
* <http://www.r-project.org/> | ||
|
||
|
||
|
||
### Images | ||
|
||
![image description here](figure/buildings.jpg) | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
### Code | ||
Inline code between backticks: e.g., `print('hello world!')`. | ||
|
||
Displayed code can be tab indented or four space indented: | ||
|
||
```{r} | ||
x <- 1:10 | ||
x | ||
``` | ||
|
||
|
||
|
||
|
||
### Quote | ||
Quotes by adding greater than to start of each line. | ||
|
||
> To be, or not to be, that is the question: | ||
> Whether 'tis nobler in the mind to suffer | ||
> The slings and arrows of outrageous fortune, | ||
|
||
### Tables | ||
Extended github table functionality: | ||
|
||
A | B | C | ||
--- | --- | --- | ||
1 | Male | Blue | ||
2 | Female | Pink | ||
|
||
Or just write HTML: | ||
|
||
<table border="1"> | ||
<tr><td>Cell A1</td> | ||
<td>Cell B1</td></tr> | ||
<tr><td>Cell A2</td> | ||
<td>Cell B2</td></tr> | ||
</table> | ||
|
||
|
||
|
||
### HTML is passed through | ||
Hyperlink | ||
<a href="http://jeromyanglim.blogspot.com">My website</a> | ||
|
||
|
||
|
||
E.g., new line | ||
<hr /> | ||
|
||
HTML Symbol Entities | ||
|
||
α β ™ | ||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.