File: test.org.dark.html

package info (click to toggle)
kf6-syntax-highlighting 6.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,200 kB
  • sloc: xml: 210,435; cpp: 12,977; python: 3,281; sh: 965; perl: 813; ruby: 494; pascal: 393; javascript: 161; php: 159; haskell: 141; jsp: 132; lisp: 131; ada: 119; ansic: 107; makefile: 96; f90: 94; ml: 85; cobol: 81; yacc: 71; csh: 62; exp: 61; erlang: 54; sql: 51; java: 47; sed: 45; objc: 37; tcl: 36; awk: 31; asm: 30; fortran: 18; cs: 10
file content (62 lines) | stat: -rw-r--r-- 3,968 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 Dark)"/>
</head><body style="background-color:#232629;color:#cfcfc2"><pre>
<span style="color:#8e44ad">* Heading</span>
<span style="color:#c45b00">:PROPERTIES:</span>
<span style="color:#c45b00">:property: test</span>
<span style="color:#c45b00">: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:#0099ff;font-weight:bold">=verbatim=</span> <span style="color:#c45b00">~code~</span> text.

Highlight <span style="text-decoration:underline">https://invent.kde.org/frameworks/syntax-highlighting</span> <span style="color:#27ae60;text-decoration:underline">[[kde.org]]</span> links.

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

<span style="color:#8e44ad">** </span><span style="color:#95da4c;background-color:#4d1f24;font-weight:bold">TODO</span><span style="color:#8e44ad"> </span><span style="color:#c45b00">[#B]</span><span style="color:#8e44ad"> Heading </span><span style="color:#c45b00">[1/3]</span>
  
<span style="color:#da4453;font-weight:bold">+ </span><span style="color:#27aeae">[X]</span> First item
<span style="color:#da4453;font-weight:bold">+ </span><span style="color:#27aeae">[-]</span> Second item
<span style="color:#da4453;font-weight:bold">  - </span><span style="color:#27aeae">[X]</span> Sub-item
<span style="color:#da4453;font-weight:bold">  - </span><span style="color:#27aeae">[ ]</span> Sub-item 2

     
<span style="color:#da4453">1. </span>Number list
<span style="color:#da4453">2. </span><span style="color:#27aeae">[ ]</span> Number list with checkbox

<span style="color:#27ae60">#+NAME: showcase-block</span>
<span style="color:#c45b00">#+BEGIN_BLOCK</span>
<span style="color:#c45b00">Inside a block</span>
<span style="color:#c45b00">#+END_BLOCK</span>

<span style="color:#c45b00">#+BEGIN_SRC rust</span>
  <span style="color:#3f8058">{</span>
      <span style="font-weight:bold">let</span> a <span style="color:#3f8058">=</span> <span style="color:#f67400">1</span><span style="color:#3f8058">;</span>
      <span style="font-weight:bold">let</span> <span style="font-weight:bold">mut</span> b <span style="color:#3f8058">=</span> <span style="color:#3f8058">&amp;</span>a<span style="color:#3f8058">;</span>
      <span style="color:#3f8058">{</span>
          <span style="font-weight:bold">let</span> c <span style="color:#3f8058">=</span> <span style="color:#f67400">2</span><span style="color:#3f8058">;</span>
          b <span style="color:#3f8058">=</span> <span style="color:#3f8058">&amp;</span>c<span style="color:#3f8058">;</span>
      <span style="color:#3f8058">}</span>
      <span style="color:#7a7c7d">// Attempting to use `b` here will error.</span>
  <span style="color:#3f8058">}</span>
<span style="color:#c45b00">#+END_SRC</span>

<span style="color:#c45b00">#+BEGIN_SRC sh</span>
<span style="color:#609ca0">echo</span> <span style="color:#f44f4f">"This is shell script syntax highlighting!"</span>
<span style="color:#7a7c7d"># comment</span>
<span style="color:#7a7c7d"># this should not change the syntax highlighting to C language: c</span>
<span style="color:#609ca0">exec</span> ls <span style="color:#2980b9">-la</span>
<span style="color:#c45b00">#+END_SRC</span>

<span style="color:#c45b00">#+BEGIN_SRC py</span>
<span style="color:#27ae60">import</span> bla

<span style="font-weight:bold">def</span> main():
    <span style="color:#609ca0">print</span>(<span style="color:#f44f4f">"</span><span style="color:#f44f4f">hello world!</span><span style="color:#f44f4f">"</span>)

main()

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