Debian Codegraph @

autotests/html/test.org.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html><head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4 <title>test.org</title>
5 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Org Mode) - Theme (Breeze Light)"/>
6 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
7 <span style="color:#644a9b">* Heading</span>
8 <span style="color:#b08000">:PROPERTIES:</span>
9 <span style="color:#b08000">:property: test</span>
10 <span style="color:#b08000">:END:</span>
11
12 Regular <span style="font-weight:bold">*bold*</span> <span style="font-style:italic">/italic/</span> <span style="text-decoration:underline">_underline_</span> <span style="text-decoration:line-through">+strike-through+</span> <span style="color:#0095ff;font-weight:bold">=verbatim=</span> <span style="color:#b08000">~code~</span> text.
13
14 Highlight <span style="text-decoration:underline">https://invent.kde.org/frameworks/syntax-highlighting</span> <span style="color:#006e28;text-decoration:underline">[[kde.org]]</span> links.
15
16 <span style="color:#898887"># This is a comment.</span>
17
18 <span style="color:#644a9b">** </span><span style="color:#bf0303;background-color:#f7e6e6;font-weight:bold">TODO</span><span style="color:#644a9b"> </span><span style="color:#b08000">[#B]</span><span style="color:#644a9b"> Heading </span><span style="color:#b08000">[1/3]</span>
19
20 <span style="color:#ff5500;font-weight:bold">+ </span><span style="color:#0057ae">[X]</span> First item
21 <span style="color:#ff5500;font-weight:bold">+ </span><span style="color:#0057ae">[-]</span> Second item
22 <span style="color:#ff5500;font-weight:bold"> - </span><span style="color:#0057ae">[X]</span> Sub-item
23 <span style="color:#ff5500;font-weight:bold"> - </span><span style="color:#0057ae">[ ]</span> Sub-item 2
24
25
26 <span style="color:#ff5500">1. </span>Number list
27 <span style="color:#ff5500">2. </span><span style="color:#0057ae">[ ]</span> Number list with checkbox
28
29 <span style="color:#006e28">#+NAME: showcase-block</span>
30 <span style="color:#b08000">#+BEGIN_BLOCK</span>
31 <span style="color:#b08000">Inside a block</span>
32 <span style="color:#b08000">#+END_BLOCK</span>
33
34 <span style="color:#b08000">#+BEGIN_SRC rust</span>
35 <span style="color:#ca60ca">{</span>
36 <span style="font-weight:bold">let</span> a <span style="color:#ca60ca">=</span> <span style="color:#b08000">1</span><span style="color:#ca60ca">;</span>
37 <span style="font-weight:bold">let</span> <span style="font-weight:bold">mut</span> b <span style="color:#ca60ca">=</span> <span style="color:#ca60ca">&amp;</span>a<span style="color:#ca60ca">;</span>
38 <span style="color:#ca60ca">{</span>
39 <span style="font-weight:bold">let</span> c <span style="color:#ca60ca">=</span> <span style="color:#b08000">2</span><span style="color:#ca60ca">;</span>
40 b <span style="color:#ca60ca">=</span> <span style="color:#ca60ca">&amp;</span>c<span style="color:#ca60ca">;</span>
41 <span style="color:#ca60ca">}</span>
42 <span style="color:#898887">// Attempting to use `b` here will error.</span>
43 <span style="color:#ca60ca">}</span>
44 <span style="color:#b08000">#+END_SRC</span>
45
46 <span style="color:#b08000">#+BEGIN_SRC sh</span>
47 <span style="color:#644a9b;font-weight:bold">echo</span> <span style="color:#bf0303">"This is shell script syntax highlighting!"</span>
48 <span style="color:#898887"># comment</span>
49 <span style="color:#898887"># this should not change the syntax highlighting to C language: c</span>
50 <span style="color:#644a9b;font-weight:bold">exec</span> ls <span style="color:#0057ae">-la</span>
51 <span style="color:#b08000">#+END_SRC</span>
52
53 <span style="color:#b08000">#+BEGIN_SRC py</span>
54 <span style="color:#ff5500">import</span> bla
55
56 <span style="font-weight:bold">def</span> main():
57 <span style="color:#644a9b;font-weight:bold">print</span>(<span style="color:#bf0303">"</span><span style="color:#bf0303">hello world!</span><span style="color:#bf0303">"</span>)
58
59 main()
60
61 <span style="color:#b08000">#+END_SRC</span>
62 </pre></body></html>