remove katex
This commit is contained in:
@@ -5,7 +5,6 @@ import MkLink from '@/components/MkLink.vue';
|
||||
import MkMention from '@/components/MkMention.vue';
|
||||
import MkEmoji from '@/components/global/MkEmoji.vue';
|
||||
import { concat } from '@/scripts/array';
|
||||
import MkFormula from '@/components/MkFormula.vue';
|
||||
import MkCode from '@/components/MkCode.vue';
|
||||
import MkGoogle from '@/components/MkGoogle.vue';
|
||||
import MkSparkle from '@/components/MkSparkle.vue';
|
||||
@@ -273,7 +272,7 @@ export default defineComponent({
|
||||
key: Math.random(),
|
||||
emoji: `:${token.props.name}:`,
|
||||
normal: this.plain,
|
||||
host: this.author?.host,
|
||||
host: this.author.host,
|
||||
})];
|
||||
}
|
||||
|
||||
@@ -286,19 +285,11 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
case 'mathInline': {
|
||||
return [h(MkFormula, {
|
||||
key: Math.random(),
|
||||
formula: token.props.formula,
|
||||
block: false,
|
||||
})];
|
||||
return [h('code', genEl(token.props.formula))];
|
||||
}
|
||||
|
||||
case 'mathBlock': {
|
||||
return [h(MkFormula, {
|
||||
key: Math.random(),
|
||||
formula: token.props.formula,
|
||||
block: true,
|
||||
})];
|
||||
return [h('code', genEl(token.props.formula))];
|
||||
}
|
||||
|
||||
case 'search': {
|
||||
|
Reference in New Issue
Block a user