Debian Codegraph @

autotests/html/example.rmd.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html><head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4 <title>example.rmd</title>
5 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (R Markdown) - Theme (Breeze Light)"/>
6 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
7 ---
8 <span style="color:#644a9b;font-weight:bold">title</span><span style="font-weight:bold">:</span><span style="color:#0057ae"> </span><span style="color:#bf0303">"test"</span>
9 <span style="color:#644a9b;font-weight:bold">author</span><span style="font-weight:bold">:</span><span style="color:#0057ae"> </span><span style="color:#bf0303">"me"</span>
10 <span style="color:#644a9b;font-weight:bold">date</span><span style="font-weight:bold">:</span><span style="color:#0057ae"> </span><span style="color:#bf0303">"07.10.2014"</span>
11 <span style="color:#644a9b;font-weight:bold">output</span><span style="font-weight:bold">:</span><span style="color:#0057ae"> </span><span style="color:#0057ae">html_document</span>
12 ---
13
14 This is a simple test document. It shows syntax highlighting switches between YAML (above), R blocks
15 <span style="color:#0057ae;background-color:#e0e9f8">```{r, echo=FALSE}</span>
16 <span style="font-weight:bold">for</span> (i <span style="font-weight:bold">in</span> <span style="color:#b08000">1</span><span style="color:#3daee9">:</span><span style="color:#b08000">10</span>) {
17 <span style="font-weight:bold">if</span>(i<span style="color:#3daee9">>=</span><span style="color:#b08000">10</span>) <span style="color:#644a9b">print</span>(i)
18 }
19 <span style="color:#898887"># two blank lines below</span>
20
21 <span style="color:#644a9b">sessionInfo</span>()
22 <span style="color:#0057ae;background-color:#e0e9f8">```</span>
23
24 LaTeX equations,
25 <span style="color:#00a000;background-color:#e0e9f8">$$</span>
26 <span style="color:#ff5500">h_{i}(t </span><span style="color:#3daee9">\mid</span><span style="color:#ff5500"> q,C) = h_{0}(t) e^{</span><span style="color:#3daee9">\beta</span><span style="color:#ff5500">_{1}quality_{i} + </span><span style="color:#3daee9">\beta</span><span style="color:#ff5500">_{2}C_{iq}}</span>
27 <span style="color:#00a000;background-color:#e0e9f8">$$</span>
28
29 and Markdown. A <span style="color:#898887">[</span><span style="color:#006e28;text-decoration:underline">link</span><span style="color:#898887">](</span><span style="color:#898887;text-decoration:underline">http://example.com</span><span style="color:#898887">)</span> in Markdown.
30
31 Inline <span style="color:#0057ae;background-color:#e0e9f8">`r</span> y <span style="color:#006e28;font-weight:bold">&lt;-</span> <span style="color:#b08000">5</span> <span style="color:#3daee9">+</span> x <span style="color:#3daee9">-</span> <span style="color:#644a9b">sin</span>(<span style="color:#b08000">3</span>)<span style="color:#0057ae;background-color:#e0e9f8">`</span> R code.
32 Inline <span style="color:#b08000">`y &lt;- 5 + x - sin(3)`</span> code.
33
34
35 Heading
36 <span style="color:#644a9b;font-weight:bold">=======</span>
37
38 Sub-heading
39 <span style="font-weight:bold"> -----------</span>
40 A list of editors:
41 <span style="color:#ff5500;font-weight:bold"> * </span>kate
42 <span style="color:#ff5500;font-weight:bold"> * </span>vim
43 <span style="color:#ff5500;font-weight:bold"> * </span>emacs
44
45 <span style="font-style:italic">*italic*</span>, <span style="font-weight:bold">**bold**</span>, <span style="color:#b08000">`monospace`</span>
46
47 <span style="color:#b08000"> code block</span>
48 <span style="color:#b08000"> more code</span>
49
50 normal text
51 normal text
52 normal text
53
54 <span style="color:#ff5500">1. </span>item
55 <span style="color:#ff5500;font-weight:bold"> * </span>This is a list item
56 with multiple lines.
57
58 <span style="color:#0057ae;background-color:#e0e9f8">```{r pressure, echo=FALSE}</span>
59 <span style="color:#644a9b">plot</span>(pressure)
60 <span style="color:#0057ae;background-color:#e0e9f8">```</span>
61
62 <span style="color:#0057ae"> ></span><span style="color:#0057ae"> This is a</span>
63 <span style="color:#0057ae"> blockquote </span><span style="color:#0057ae;background-color:#e0e9f8">`r</span> <span style="color:#644a9b">cos</span>(<span style="color:#b08000">33</span>) <span style="color:#0057ae;background-color:#e0e9f8">`</span>
64
65 This is a new paragraph, which
66 is part of this <span style="color:#00a000;background-color:#e0e9f8">$$</span><span style="color:#ff5500"> </span><span style="color:#3daee9">\text</span>{item}<span style="color:#ff5500"> </span><span style="color:#00a000;background-color:#e0e9f8">$$</span>.
67
68 <span style="color:#b08000"> indented code block</span>
69
70 Other paragraph.
71
72 <span style="color:#ff5500;font-weight:bold"> * </span>subitem
73 <span style="color:#ff5500;font-weight:bold"> * </span>subitem
74 <span style="color:#00a000;background-color:#e0e9f8">$$</span><span style="color:#ff5500"> A = B + C </span><span style="color:#00a000;background-color:#e0e9f8">$$</span>
75 </pre></body></html>