File: example.rmd.fold

package info (click to toggle)
kf6-syntax-highlighting 6.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 47,568 kB
  • sloc: xml: 197,750; cpp: 12,850; python: 3,023; sh: 955; perl: 546; ruby: 488; pascal: 393; javascript: 161; php: 150; jsp: 132; lisp: 131; haskell: 124; ada: 119; ansic: 107; makefile: 96; f90: 94; ml: 85; cobol: 81; yacc: 71; csh: 62; erlang: 54; sql: 51; java: 47; objc: 37; awk: 31; asm: 30; tcl: 29; fortran: 18; cs: 10
file content (68 lines) | stat: -rw-r--r-- 1,779 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<beginfold id='1'>---</beginfold id='1'>
title: <beginfold id='2'>"</beginfold id='2'>test<endfold id='2'>"</endfold id='2'>
author: <beginfold id='2'>"</beginfold id='2'>me<endfold id='2'>"</endfold id='2'>
date: <beginfold id='2'>"</beginfold id='2'>07.10.2014<endfold id='2'>"</endfold id='2'>
output: html_document
<endfold id='1'>---</endfold id='1'>

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

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

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

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`

    code block
    more code

normal text
    normal text
        normal text

1. item
   * This is a list item
     with multiple lines.

     <beginfold id='3'>```{r pressure, echo=FALSE}</beginfold id='3'>
     plot(pressure)
     <endfold id='3'>```</endfold id='3'>

     > This is a
     blockquote `r cos(33) `

     This is a new paragraph, which
     is part of this <beginfold id='5'>$$</beginfold id='5'> \text{item} <endfold id='5'>$$</endfold id='5'>.

         indented code block

       Other paragraph.

     * subitem
       * subitem
         <beginfold id='5'>$$</beginfold id='5'> A = B + C <endfold id='5'>$$</endfold id='5'>