Skip to content
Snippets Groups Projects
Commit 6fd23171 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

MAINT: Add markdown to dependencies

parent 4b97cc55
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ import { ...@@ -6,6 +6,7 @@ import {
} from 'ckeditor5/src/ui'; } from 'ckeditor5/src/ui';
import Code from '@ckeditor/ckeditor5-basic-styles/src/code'; 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 displayIcon from '../theme/icons/display.svg';
import inlineIcon from '../theme/icons/inline.svg'; import inlineIcon from '../theme/icons/inline.svg';
...@@ -16,7 +17,9 @@ export default class ComplexitywikiPlugins extends Plugin { ...@@ -16,7 +17,9 @@ export default class ComplexitywikiPlugins extends Plugin {
} }
static get requires() { 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() { init() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment