File: index.html

package info (click to toggle)
accessible-pygments 0.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,076 kB
  • sloc: python: 1,451; sh: 48; javascript: 33; makefile: 3
file content (128 lines) | stat: -rw-r--r-- 3,539 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Accessible Pygments Themes</title>

    <link
      rel="stylesheet"
      type="text/css"
      title="a11y dark"
      href="./index.css"
    />
  </head>
  <body>
    <div class="title">
      <h1>Accessible Pygments Themes Demo 🎨</h1>
    </div>
    <div class="selection">
      <label>Choose a theme:</label>
      <!-- themes -->
      <select name="themes" id="themes">
        <option>a11y-dark</option>
        <option>a11y-light</option>
        <option>a11y-high-contrast-dark</option>
        <option>a11y-high-contrast-light</option>
        <option>pitaya-smoothie</option>
        <option>github-light</option>
        <option>github-dark</option>
        <option>github-light-colorblind</option>
        <option>github-dark-colorblind</option>
        <option>github-light-high-contrast</option>
        <option>github-dark-high-contrast</option>
        <option>gotthard-light</option>
        <option>gotthard-dark</option>
        <option>blinds-light</option>
        <option>blinds-dark</option>
        <option>greative</option>
      </select>
    </div>

    <div class="cards">
      <!-------------------------------- BASH -------------------------------->

      <div class="card">
        <div class="card-title">
          <h2>Bash</h2>
        </div>
        <div class="card-body">
          <iframe
            src="./_build/a11y-dark/bash.html"
            title="Bash syntax highlighting example"
          ></iframe>
        </div>
      </div>

      <!-------------------------------- JAVASCRIPT -------------------------->

      <div class="card">
        <div class="card-title">
          <h2>Javascript</h2>
        </div>
        <div class="card-body">
          <iframe
            src="./_build/a11y-dark/js.html"
            title="JavaScript syntax highlighting example"
          ></iframe>
        </div>
      </div>

      <!-------------------------------- CSS --------------------------------->

      <div class="card">
        <div class="card-title">
          <h2>CSS</h2>
        </div>
        <div class="card-body">
          <iframe
            src="./_build/a11y-dark/css.html"
            title="CSS syntax highlighting example"
          ></iframe>
        </div>
      </div>

      <!-------------------------------- HTML -------------------------------->

      <div class="card">
        <div class="card-title">
          <h2>HTML</h2>
        </div>
        <div class="card-body">
          <iframe
            src="./_build/a11y-dark/html.html"
            title="HTML syntax highlighting example"
          ></iframe>
        </div>
      </div>

      <!-------------------------------- MARKDOWN ---------------------------->

      <div class="card">
        <div class="card-title">
          <h2>Markdown</h2>
        </div>
        <div class="card-body">
          <iframe
            src="./_build/a11y-dark/md.html"
            title="Markdown syntax highlighting example"
          ></iframe>
        </div>
      </div>

      <!-------------------------------- PYTHON ------------------------------>

      <div class="card">
        <div class="card-title">
          <h2>Python</h2>
        </div>
        <div class="card-body">
          <iframe
            src="./_build/a11y-dark/py.html"
            title="Python syntax highlighting example"
          ></iframe>
        </div>
      </div>
    </div>
    <script src="./index.js"></script>
  </body>
</html>