Changeset View
Changeset View
Standalone View
Standalone View
autotests/folding/example.rmd.fold
1 | <beginfold id='1'>---</beginfold id='1'> | 1 | <beginfold id='1'>---</beginfold id='1'> | ||
---|---|---|---|---|---|
2 | title: <beginfold id='29'>"</beginfold id='29'>test<endfold id='29'>"</endfold id='29'> | 2 | title: <beginfold id='63'>"</beginfold id='63'>test<endfold id='63'>"</endfold id='63'> | ||
3 | author: <beginfold id='29'>"</beginfold id='29'>me<endfold id='29'>"</endfold id='29'> | 3 | author: <beginfold id='63'>"</beginfold id='63'>me<endfold id='63'>"</endfold id='63'> | ||
4 | date: <beginfold id='29'>"</beginfold id='29'>07.10.2014<endfold id='29'>"</endfold id='29'> | 4 | date: <beginfold id='63'>"</beginfold id='63'>07.10.2014<endfold id='63'>"</endfold id='63'> | ||
5 | output: html_document | 5 | output: html_document | ||
6 | --- | 6 | --- | ||
7 | 7 | | |||
8 | This is a simple test document. It shows syntax highlighting switches between YAML (above), R blocks | 8 | This is a simple test document. It shows syntax highlighting switches between YAML (above), R blocks | ||
9 | <beginfold id='1'>```{r, echo=FALSE}</beginfold id='1'> | 9 | <beginfold id='1'>```{r, echo=FALSE}</beginfold id='1'> | ||
10 | for (i in 1:10) <beginfold id='3'>{</beginfold id='3'> | 10 | for (i in 1:10) <beginfold id='52'>{</beginfold id='52'> | ||
11 | if(i>=10) print(i) | 11 | if(i>=10) print(i) | ||
12 | <endfold id='3'>}</endfold id='3'> | 12 | <endfold id='52'>}</endfold id='52'> | ||
13 | # two blank lines below | 13 | # two blank lines below | ||
14 | 14 | | |||
15 | sessionInfo() | 15 | sessionInfo() | ||
16 | <endfold id='1'>```</endfold id='1'> | 16 | <endfold id='1'>```</endfold id='1'> | ||
17 | 17 | | |||
18 | LaTeX equations, | 18 | LaTeX equations, | ||
19 | <beginfold id='1'>$$</beginfold id='1'> | 19 | <beginfold id='1'>$$</beginfold id='1'> | ||
20 | h_{i}(t \mid q,C) = h_{0}(t) e^{\beta_{1}quality_{i} + \beta_{2}C_{iq}} | 20 | h_{i}(t \mid q,C) = h_{0}(t) e^{\beta_{1}quality_{i} + \beta_{2}C_{iq}} | ||
Show All 19 Lines |