fix: missing footnote module in markdown editor preview

pull/1634/head
NGPixel 5 years ago
parent 3402afa03c
commit 58b08e54b4

@ -213,6 +213,7 @@ import mdAbbr from 'markdown-it-abbr'
import mdSup from 'markdown-it-sup' import mdSup from 'markdown-it-sup'
import mdSub from 'markdown-it-sub' import mdSub from 'markdown-it-sub'
import mdMark from 'markdown-it-mark' import mdMark from 'markdown-it-mark'
import mdFootnote from 'markdown-it-footnote'
import mdImsize from 'markdown-it-imsize' import mdImsize from 'markdown-it-imsize'
import katex from 'katex' import katex from 'katex'
import twemoji from 'twemoji' import twemoji from 'twemoji'
@ -261,6 +262,7 @@ const md = new MarkdownIt({
.use(mdSup) .use(mdSup)
.use(mdSub) .use(mdSub)
.use(mdMark) .use(mdMark)
.use(mdFootnote)
.use(mdImsize) .use(mdImsize)
// ======================================== // ========================================

@ -2,7 +2,7 @@ key: htmlMediaplayers
title: Media Players title: Media Players
description: Embed players such as Youtube, Vimeo, Soundcloud, etc. description: Embed players such as Youtube, Vimeo, Soundcloud, etc.
author: requarks.io author: requarks.io
icon: mdi-library-video icon: mdi-video
enabledDefault: true enabledDefault: true
dependsOn: htmlCore dependsOn: htmlCore
props: {} props: {}

@ -4,7 +4,7 @@ description: Basic Markdown Parser
author: requarks.io author: requarks.io
input: markdown input: markdown
output: html output: html
icon: mdi-markdown icon: mdi-language-markdown
props: props:
allowHTML: allowHTML:
type: Boolean type: Boolean

Loading…
Cancel
Save