From a94b895fec10965ee720e91976ea42bea66c227a Mon Sep 17 00:00:00 2001 From: Eric Charles Date: Thu, 13 Apr 2023 12:47:04 +0200 Subject: [PATCH] fix marked loading depending on the host notbeook/nbclassic version --- .../static/nbextensions_configurator/render/render.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/render/render.js b/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/render/render.js index 8a88c52..5aed733 100644 --- a/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/render/render.js +++ b/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/render/render.js @@ -33,6 +33,8 @@ define([ var mod_name = 'jupyter_nbextensions_configurator/render'; var log_prefix = '[' + mod_name + ']'; + marked = marked.marked || marked; + /** * Custom marked options, * lifted from notebook/js/notebook