chore: remove super and subtext (closes #438)

This commit is contained in:
Paul Makles 2022-05-10 12:27:44 +01:00
parent e1e3e55dc7
commit 8f0c69f528
3 changed files with 0 additions and 24 deletions

View file

@ -130,8 +130,6 @@
"long": "^5.2.0",
"markdown-it": "^12.0.6",
"markdown-it-emoji": "^2.0.0",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"mediasoup-client": "npm:@insertish/mediasoup-client@3.6.36-esnext",
"mobx": "^6.3.2",
"mobx-react-lite": "^3.3.0",

View file

@ -5,10 +5,6 @@ import "katex/dist/katex.min.css";
import MarkdownIt from "markdown-it";
// @ts-expect-error No typings.
import MarkdownEmoji from "markdown-it-emoji/dist/markdown-it-emoji-bare";
// @ts-expect-error No typings.
import MarkdownSub from "markdown-it-sub";
// @ts-expect-error No typings.
import MarkdownSup from "markdown-it-sup";
import { RE_MENTIONS } from "revolt.js";
import styles from "./Markdown.module.scss";
@ -64,8 +60,6 @@ export const md: MarkdownIt = MarkdownIt({
.disable("image")
.use(MarkdownEmoji, { defs: emojiDictionary })
.use(MarkdownSpoilers)
.use(MarkdownSup)
.use(MarkdownSub)
.use(MarkdownKatex, {
throwOnError: false,
maxExpand: 0,

View file

@ -3427,8 +3427,6 @@ __metadata:
long: ^5.2.0
markdown-it: ^12.0.6
markdown-it-emoji: ^2.0.0
markdown-it-sub: ^1.0.0
markdown-it-sup: ^1.0.0
mediasoup-client: "npm:@insertish/mediasoup-client@3.6.36-esnext"
mobx: ^6.3.2
mobx-react-lite: ^3.3.0
@ -5641,20 +5639,6 @@ __metadata:
languageName: node
linkType: hard
"markdown-it-sub@npm:^1.0.0":
version: 1.0.0
resolution: "markdown-it-sub@npm:1.0.0"
checksum: 8b5a71a11f718d787e591e22ed028adc789ba62dac6ca0e22a4714c9533868431a4227dbefb921be39ad3388c25fa019d9a510dffed865811ebcb2cbecbbf53d
languageName: node
linkType: hard
"markdown-it-sup@npm:^1.0.0":
version: 1.0.0
resolution: "markdown-it-sup@npm:1.0.0"
checksum: 9e593acb8c79dbb917645affde3c46ecb50baa59c740ffe4ecc7bfa470b5b746338f12c65219d6c4112f9f2b01b68cbd151aaabbac878f34e07c7120e5959324
languageName: node
linkType: hard
"markdown-it@npm:^12.0.6":
version: 12.2.0
resolution: "markdown-it@npm:12.2.0"