File: test.org.html

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 (62 lines) | stat: -rw-r--r-- 3,950 bytes parent folder | download
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
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>test.org</title>
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (Org Mode) - Theme (Breeze Light)"/>
</head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
<span style="color:#644a9b">* Heading</span>
<span style="color:#b08000">:PROPERTIES:</span>
<span style="color:#b08000">:property: test</span>
<span style="color:#b08000">:END:</span>

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.

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.

<span style="color:#898887"># This is a comment.</span>

<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>
  
<span style="color:#ff5500;font-weight:bold">+ </span><span style="color:#0057ae">[X]</span> First item
<span style="color:#ff5500;font-weight:bold">+ </span><span style="color:#0057ae">[-]</span> Second item
<span style="color:#ff5500;font-weight:bold">  - </span><span style="color:#0057ae">[X]</span> Sub-item
<span style="color:#ff5500;font-weight:bold">  - </span><span style="color:#0057ae">[ ]</span> Sub-item 2

     
<span style="color:#ff5500">1. </span>Number list
<span style="color:#ff5500">2. </span><span style="color:#0057ae">[ ]</span> Number list with checkbox

<span style="color:#006e28">#+NAME: showcase-block</span>
<span style="color:#b08000">#+BEGIN_BLOCK</span>
<span style="color:#b08000">Inside a block</span>
<span style="color:#b08000">#+END_BLOCK</span>

<span style="color:#b08000">#+BEGIN_SRC rust</span>
  <span style="color:#ca60ca">{</span>
      <span style="font-weight:bold">let</span> a <span style="color:#ca60ca">=</span> <span style="color:#b08000">1</span><span style="color:#ca60ca">;</span>
      <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>
      <span style="color:#ca60ca">{</span>
          <span style="font-weight:bold">let</span> c <span style="color:#ca60ca">=</span> <span style="color:#b08000">2</span><span style="color:#ca60ca">;</span>
          b <span style="color:#ca60ca">=</span> <span style="color:#ca60ca">&amp;</span>c<span style="color:#ca60ca">;</span>
      <span style="color:#ca60ca">}</span>
      <span style="color:#898887">// Attempting to use `b` here will error.</span>
  <span style="color:#ca60ca">}</span>
<span style="color:#b08000">#+END_SRC</span>

<span style="color:#b08000">#+BEGIN_SRC sh</span>
<span style="color:#644a9b;font-weight:bold">echo</span> <span style="color:#bf0303">"This is shell script syntax highlighting!"</span>
<span style="color:#898887"># comment</span>
<span style="color:#898887"># this should not change the syntax highlighting to C language: c</span>
<span style="color:#644a9b;font-weight:bold">exec</span> ls <span style="color:#0057ae">-la</span>
<span style="color:#b08000">#+END_SRC</span>

<span style="color:#b08000">#+BEGIN_SRC py</span>
<span style="color:#ff5500">import</span> bla

<span style="font-weight:bold">def</span> main():
    <span style="color:#644a9b;font-weight:bold">print</span>(<span style="color:#bf0303">"hello world!"</span>)

main()

<span style="color:#b08000">#+END_SRC</span>
</pre></body></html>