提交 4c9b22da 编写于 作者: P Petrik 提交者: George Claghorn

Highlight code with Prism on 'turbolinks:load' [ci skip]

上级 c694d3ff
......@@ -27,6 +27,8 @@
if (window.location.protocol === "file:") Turbolinks.supported = false;
document.addEventListener("turbolinks:load", function() {
Prism.highlightAll();
var guidesMenu = document.getElementById("guidesMenu");
var guides = document.getElementById("guides");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册