remove unused code

This commit is contained in:
Johann150 2023-02-24 18:30:47 +01:00
parent d34d0161b6
commit 1766ae1e0f
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -59,12 +59,6 @@ export const Markdown = defineComponent({
});
} else if (node.classList.contains('mfm-emoji')) {
return h(MkEmoji, { emoji: node.textContent, customEmojis: this.customEmojis });
} else if (node.classList.contains('mfm-codeblock') || node.classList.contains('mfm-inline-code')) {
return h(MkCode, {
code: node.textContent,
lang: node.getAttribute("data-mfm-language") ?? undefined,
inline: node.classList.contains('mfm-inline-code'),
}, node.innerText);
} else if (node.classList.contains('mfm-katex')) {
return h(MkFormula, {
formula: node.innerText,