Warning, /frameworks/syntax-highlighting/autotests/input/example.rmd is written in an unsupported language. File is not indexed.
0001 ---
0002 title: "test"
0003 author: "me"
0004 date: "07.10.2014"
0005 output: html_document
0006 ---
0007
0008 This is a simple test document. It shows syntax highlighting switches between YAML (above), R blocks
0009 ```{r, echo=FALSE}
0010 for (i in 1:10) {
0011 if(i>=10) print(i)
0012 }
0013 # two blank lines below
0014
0015 sessionInfo()
0016 ```
0017
0018 LaTeX equations,
0019 $$
0020 h_{i}(t \mid q,C) = h_{0}(t) e^{\beta_{1}quality_{i} + \beta_{2}C_{iq}}
0021 $$
0022
0023 and Markdown. A [link](http://example.com) in Markdown.
0024
0025 Inline `r y <- 5 + x - sin(3)` R code.
0026 Inline `y <- 5 + x - sin(3)` code.
0027
0028
0029 Heading
0030 =======
0031
0032 Sub-heading
0033 -----------
0034 A list of editors:
0035 * kate
0036 * vim
0037 * emacs
0038
0039 *italic*, **bold**, `monospace`
0040
0041 code block
0042 more code
0043
0044 normal text
0045 normal text
0046 normal text
0047
0048 1. item
0049 * This is a list item
0050 with multiple lines.
0051
0052 ```{r pressure, echo=FALSE}
0053 plot(pressure)
0054 ```
0055
0056 > This is a
0057 blockquote `r cos(33) `
0058
0059 This is a new paragraph, which
0060 is part of this $$ \text{item} $$.
0061
0062 indented code block
0063
0064 Other paragraph.
0065
0066 * subitem
0067 * subitem
0068 $$ A = B + C $$