summaryrefslogtreecommitdiff
path: root/doc/_static/demo.js
diff options
context:
space:
mode:
Diffstat (limited to 'doc/_static/demo.js')
-rw-r--r--doc/_static/demo.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/_static/demo.js b/doc/_static/demo.js
index f538492e..872c2348 100644
--- a/doc/_static/demo.js
+++ b/doc/_static/demo.js
@@ -23,6 +23,9 @@ languagePluginLoader.then(() => {
}
}
+ var ver = pyodide.runPython('pygments.__version__');
+ document.getElementById("try-version").innerText = "Pygments version: " + ver;
+
document.getElementById("hlbtn").disabled = false;
document.getElementById("loading").style.display = "none";
});