Update misskey-flavored-markdown.ts
This commit is contained in:
parent
fa66b79e2d
commit
a2549192ca
|
@ -1,11 +1,11 @@
|
||||||
import Vue, { VNode } from 'vue';
|
import Vue, { VNode } from 'vue';
|
||||||
import { length } from 'stringz';
|
import { length } from 'stringz';
|
||||||
import MkFormula from './formula.vue';
|
|
||||||
import parse from '../../../../../mfm/parse';
|
import parse from '../../../../../mfm/parse';
|
||||||
import getAcct from '../../../../../misc/acct/render';
|
import getAcct from '../../../../../misc/acct/render';
|
||||||
import MkUrl from './url.vue';
|
import MkUrl from './url.vue';
|
||||||
import MkGoogle from './google.vue';
|
|
||||||
import { concat } from '../../../../../prelude/array';
|
import { concat } from '../../../../../prelude/array';
|
||||||
|
import MkFormula from './formula.vue';
|
||||||
|
import MkGoogle from './google.vue';
|
||||||
|
|
||||||
export default Vue.component('misskey-flavored-markdown', {
|
export default Vue.component('misskey-flavored-markdown', {
|
||||||
props: {
|
props: {
|
||||||
|
@ -201,6 +201,7 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'math': {
|
case 'math': {
|
||||||
|
//const MkFormula = () => import('./formula.vue').then(m => m.default);
|
||||||
return [createElement(MkFormula, {
|
return [createElement(MkFormula, {
|
||||||
props: {
|
props: {
|
||||||
formula: token.formula
|
formula: token.formula
|
||||||
|
@ -209,6 +210,7 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'search': {
|
case 'search': {
|
||||||
|
//const MkGoogle = () => import('./google.vue').then(m => m.default);
|
||||||
return [createElement(MkGoogle, {
|
return [createElement(MkGoogle, {
|
||||||
props: {
|
props: {
|
||||||
q: token.query
|
q: token.query
|
||||||
|
|
Loading…
Reference in New Issue