-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
169 lines (153 loc) · 7.19 KB
/
index.html
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en" data-content_root="./">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Welcome! — Pygments</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=d75fae25" />
<link rel="stylesheet" type="text/css" href="_static/pygments14.css?v=597fcfb8" />
<script src="_static/documentation_options.js?v=01345f90"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex/" />
<link rel="search" title="Search" href="search/" />
<link rel="next" title="Pygments documentation" href="docs/" />
<link href='https://fonts.googleapis.com/css?family=PT+Sans:300,400,700'
rel='stylesheet' type='text/css'>
<style type="text/css">
table.right { float: right; margin-left: 20px; }
table.right td { border: 1px solid #ccc; }
.related { display: none; }
</style>
<script type="text/javascript">
// intelligent scrolling of the sidebar content
$(window).scroll(function() {
var sb = $('.sphinxsidebarwrapper');
var win = $(window);
var sbh = sb.height();
var offset = $('.sphinxsidebar').position()['top'];
var wintop = win.scrollTop();
var winbot = wintop + win.innerHeight();
var curtop = sb.position()['top'];
var curbot = curtop + sbh;
// does sidebar fit in window?
if (sbh < win.innerHeight()) {
// yes: easy case -- always keep at the top
sb.css('top', $u.min([$u.max([0, wintop - offset - 10]),
$(document).height() - sbh - 200]));
} else {
// no: only scroll if top/bottom edge of sidebar is at
// top/bottom edge of window
if (curtop > wintop && curbot > winbot) {
sb.css('top', $u.max([wintop - offset - 10, 0]));
} else if (curtop < wintop && curbot < winbot) {
sb.css('top', $u.min([winbot - sbh - offset - 20,
$(document).height() - sbh - 200]));
}
}
});
</script>
</head><body>
<div class="outerwrapper">
<div class="pageheader">
<ul>
<li><a href="#">Home</a></li>
<li><a href="demo/">Demo</a></li>
<li><a href="languages/">Languages</a></li>
<li><a href="styles/">Styles</a></li>
<li><a href="faq/">FAQ</a></li>
<li><a href="download/">Get it</a></li>
<li><a href="docs/">Docs</a></li>
</ul>
<div>
<a href="#">
<img src="_static/logo.png" alt="Pygments logo" />
</a>
</div>
</div>
<div class="flexwrapper">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper"><section>
<h3>Download</h3>
<p>Current version: <b>2.19.1</b><br><a href="docs/changelog/">Changelog</a></p>
<p>Get Pygments from the <a href="https://pypi.python.org/pypi/Pygments">Python Package
Index</a>, or install it with:</p>
<pre>pip install Pygments</pre>
</section>
<section>
<h3>Questions? Suggestions?</h3>
<p><img src="_static/github.png" width="24" />
Clone at <a href="https://github.com/pygments/pygments">GitHub</a>.</p>
<p>You can also open an issue at the
<a href="https://github.com/pygments/pygments/issues">tracker</a>.</p>
</section>
<p class="logo">A <a href="https://www.pocoo.org/">
<img src="_static/pocoo.png" /></a> project</a></p>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search/" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="welcome">
<h1>Welcome!<a class="headerlink" href="#welcome" title="Link to this heading">¶</a></h1>
<p>This is the home of Pygments. It is a generic syntax highlighter suitable for
use in code hosting, forums, wikis or other applications that need to prettify
source code. Highlights are:</p>
<ul class="simple">
<li><p>a wide range of 597 languages and other text formats is supported</p></li>
<li><p>special attention is paid to details that increase highlighting quality</p></li>
<li><p>support for new languages and formats are added easily; most languages use a
simple regex-based lexing mechanism</p></li>
<li><p>a number of output formats is available, among them HTML, RTF, LaTeX and ANSI
sequences</p></li>
<li><p>it is usable as a command-line tool and as a library</p></li>
</ul>
<p>Read more in the <a class="reference internal" href="faq/"><span class="doc">FAQ list</span></a> or the <a class="reference internal" href="docs/"><span class="doc">documentation</span></a>,
or <a class="reference external" href="https://pypi.python.org/pypi/Pygments">download the latest release</a>.</p>
<section id="contribute">
<h2>Contribute<a class="headerlink" href="#contribute" title="Link to this heading">¶</a></h2>
<p>Like every open-source project, we are always looking for volunteers to help us
with programming. Python knowledge is required, but don’t fear: Python is a very
clear and easy to learn language. Read our <a class="reference internal" href="docs/contributing/"><span class="doc">contribution guidelines</span></a> for more information.</p>
<p>If you found a bug, just open a ticket in the GitHub tracker. Be sure to log
in to be notified when the issue is fixed – development is not fast-paced as
the library is quite stable. You can also send an e-mail to the developers, see
below.</p>
</section>
<section id="the-authors">
<h2>The authors<a class="headerlink" href="#the-authors" title="Link to this heading">¶</a></h2>
<p>Pygments is maintained by <strong>Georg Brandl</strong>, e-mail address <em>georg</em><em>@</em><em>python.org</em>, <strong>Matthäus Chajdas</strong> and <strong>Jean Abou-Samra</strong>.</p>
<p>Many lexers and fixes have been contributed by <strong>Armin Ronacher</strong>, the rest of
the <a class="reference external" href="https://www.pocoo.org/">Pocoo</a> team and <strong>Tim Hatch</strong>.</p>
<div class="toctree-wrapper compound">
</div>
</section>
</section>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
</div>
<div class="footer" role="contentinfo">
© Copyright 2006-2025, Georg Brandl and Pygments contributors.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3. <br/>
Pygments logo created by <a href="https://joelunger.com">Joel Unger</a>.
Backgrounds from <a href="https://subtlepatterns.com">subtlepatterns.com</a>.
</div>
</div>
</body>
</html>