From b83e1655b5906c7bcc4e2dbcec1f5d6b11938c09 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 15 Oct 2017 03:01:42 +0200 Subject: [PATCH] Embed block: highlighting --- web/app/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/js/app.js b/web/app/js/app.js index 2a11cb6..4c4d09e 100644 --- a/web/app/js/app.js +++ b/web/app/js/app.js @@ -179,6 +179,7 @@ var viewerEvents = function() { if ($embedCode.length) { $embedCode.html($embedCode.html().replace('%key%', to)); + Prism.highlightAll(); } }); }