mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 11:14:42 +08:00
FEATURE: Allow selection of highlight js languages
PERF: stop loading highlight js on load To get latest highlight js run bin/rake highlightjs:update
This commit is contained in:
@ -41,6 +41,7 @@
|
||||
Discourse.start();
|
||||
Discourse.set('assetVersion','<%= Discourse.assets_digest %>');
|
||||
Discourse.Session.currentProp("disableCustomCSS", <%= loading_admin? %>);
|
||||
Discourse.HighlightJSPath = <%= HighlightJs.path.inspect.html_safe %>;
|
||||
</script>
|
||||
|
||||
<%= script 'browser-update' %>
|
||||
|
Reference in New Issue
Block a user