<beginfold id='1'>---</beginfold id='1'>
title: <beginfold id='29'>"</beginfold id='29'>test<endfold id='29'>"</endfold id='29'>
author: <beginfold id='29'>"</beginfold id='29'>me<endfold id='29'>"</endfold id='29'>
date: <beginfold id='29'>"</beginfold id='29'>07.10.2014<endfold id='29'>"</endfold id='29'>
output: html_document
---

This is a simple test document. It shows syntax highlighting switches between YAML (above), R blocks
<beginfold id='1'>```{r, echo=FALSE}</beginfold id='1'>
for (i in 1:10) <beginfold id='3'>{</beginfold id='3'>
  if(i>=10) print(i)
<endfold id='3'>}</endfold id='3'>
# two blank lines below

sessionInfo()
<endfold id='1'>```</endfold id='1'>

LaTeX equations,
<beginfold id='1'>$$</beginfold id='1'>
h_{i}(t \mid q,C) = h_{0}(t) e^{\beta_{1}quality_{i} + \beta_{2}C_{iq}}
<endfold id='1'>$$</endfold id='1'>

and Markdown. A [link](http://example.com) in Markdown.

Inline `r y <- 5 + x - sin(3)` R code.
Inline `y <- 5 + x - sin(3)` code.


 Heading
 =======
 
 Sub-heading
 -----------
 A list of editors:
   * kate
   * vim
   * emacs

*italic*, **bold**, `monospace`
