diff options
author | Georg Brandl <georg@python.org> | 2019-11-24 15:00:01 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2019-11-24 15:00:01 +0100 |
commit | 4aded7d864d51f5c14ba9db873c0364a8534f230 (patch) | |
tree | 9bd4d3b95e4681fc9c11e2c5da6e1624c8f0e3d6 /doc/_templates | |
parent | 4a6f8b4bc9f9532706a07c899094e30edb093062 (diff) | |
download | pygments-git-4aded7d864d51f5c14ba9db873c0364a8534f230.tar.gz |
make download feature more compatible, credit to Pyodide
Diffstat (limited to 'doc/_templates')
-rw-r--r-- | doc/_templates/demo.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/_templates/demo.html b/doc/_templates/demo.html index 90597f14..bc788d1a 100644 --- a/doc/_templates/demo.html +++ b/doc/_templates/demo.html @@ -16,7 +16,9 @@ <h1>Demo - Try it out!</h1> <p>The highlighting here is performed in-browser using - a WebAssembly translation of Pygments.</p> + a WebAssembly translation of Pygments, courtesy of + <a href="https://github.com/iodide-project/pyodide">Pyodide</a>.</p> +<p>Your content is neither sent over the web nor stored anywhere.</p> <div id="try"> <h2>Enter code and select a language</h2> @@ -32,10 +34,10 @@ </select></p> <p><label for="file">Upload a file here:</label> <input type="file" id="file" onchange="new_file()"> or enter code below:</p> - <p><textarea id="code" rows="1" cols="60"></textarea></p> - <p style="text-align: right"> - <input type="button" value="Highlight!" onclick="highlight()" id="hlbtn" disabled> - <input type="reset" value="Reset"></p> + <p><textarea id="code" rows="1" cols="60"></textarea></p> + <p style="text-align: right"> + <input type="button" value="Highlight!" onclick="highlight()" id="hlbtn" disabled> + <input type="reset" value="Reset"></p> </form> <div id="loading"> <p><img src="{{ pathto("_static/spinner.gif", 1) }}" style="vertical-align: middle"></p> |