From b2e7b8b6005b0f4493bfd69e6f0a981bd16f09d9 Mon Sep 17 00:00:00 2001 From: Fabien LOISON Date: Mon, 23 Apr 2018 19:11:24 +0200 Subject: Highlight code in articles using highlight.js --- app/Resources/static/themes/_global/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/Resources/static/themes/_global/index.js') diff --git a/app/Resources/static/themes/_global/index.js b/app/Resources/static/themes/_global/index.js index fddb476d..7f7e87c0 100644 --- a/app/Resources/static/themes/_global/index.js +++ b/app/Resources/static/themes/_global/index.js @@ -13,8 +13,10 @@ import './global.scss'; import './js/shortcuts/entry'; import './js/shortcuts/main'; -import { savePercent, retrievePercent } from './js/tools'; +/* Hightlight */ +import './js/highlight'; +import { savePercent, retrievePercent } from './js/tools'; /* ========================================================================== Annotations & Remember position -- cgit v1.2.3