From 6fd231717bc9b6647ee32a85b373c76d27c0dfe1 Mon Sep 17 00:00:00 2001 From: fspreck <f.spreckelsen@indiscale.com> Date: Thu, 10 Feb 2022 09:23:50 +0100 Subject: [PATCH] MAINT: Add markdown to dependencies --- src/complexitywiki_plugins.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/complexitywiki_plugins.js b/src/complexitywiki_plugins.js index e7fc68a..09e91e7 100644 --- a/src/complexitywiki_plugins.js +++ b/src/complexitywiki_plugins.js @@ -6,6 +6,7 @@ import { } from 'ckeditor5/src/ui'; import Code from '@ckeditor/ckeditor5-basic-styles/src/code'; +import Markdown from '@ckeditor/ckeditor5-markdown-gfm/src/markdown.js'; import displayIcon from '../theme/icons/display.svg'; import inlineIcon from '../theme/icons/inline.svg'; @@ -16,7 +17,9 @@ export default class ComplexitywikiPlugins extends Plugin { } static get requires() { - return [ Code ]; + // Require code for correct treatment of the `code` text attribute and + // Markdown so that the output is understandable to the CaosDB wiki app. + return [ Code, Markdown ]; } init() { -- GitLab