diff --git a/autotests/folding/example.rmd.fold b/autotests/folding/example.rmd.fold --- a/autotests/folding/example.rmd.fold +++ b/autotests/folding/example.rmd.fold @@ -1,24 +1,24 @@ ---- -title: "test" -author: "me" -date: "07.10.2014" +--- +title: "test" +author: "me" +date: "07.10.2014" output: html_document ---- +--- This is a simple test document. It shows syntax highlighting switches between YAML (above), R blocks ```{r, echo=FALSE} -for (i in 1:10) { +for (i in 1:10) { if(i>=10) print(i) -} +} # two blank lines below sessionInfo() ``` LaTeX equations, -$$ +$$ h_{i}(t \mid q,C) = h_{0}(t) e^{\beta_{1}quality_{i} + \beta_{2}C_{iq}} -$$ +$$ and Markdown. A [link](http://example.com) in Markdown. diff --git a/autotests/reference/example.rmd.ref b/autotests/reference/example.rmd.ref --- a/autotests/reference/example.rmd.ref +++ b/autotests/reference/example.rmd.ref @@ -1,9 +1,9 @@ ----
+---
title: "test"
author: "me"
date: "07.10.2014"
output: html_document
----
+---

This is a simple test document. It shows syntax highlighting switches between YAML (above), R blocks
```{r, echo=FALSE}
diff --git a/data/syntax/rmarkdown.xml b/data/syntax/rmarkdown.xml --- a/data/syntax/rmarkdown.xml +++ b/data/syntax/rmarkdown.xml @@ -15,7 +15,7 @@ section="Markup" extensions="*.rmd;*.Rmd;*.RMD" mimetype="text/x-r-markdown" -version="4" +version="5" kateversion="3.4" casesensitive="true" author="Dirk Sarpe (dsarpe@posteo.de)" @@ -25,45 +25,47 @@ - + + context="LaTeX equation block" beginRegion="LaTeX equation block"/> - + - + - + + context="#pop" endRegion="LaTeX equation block"/> - + - +