mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
plan animated MFM when requested
This commit is contained in:
parent
8957cd9f3e
commit
7e9e018b09
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ export default function MkMfm(props: MfmProps, { emit }: { emit: SetupContext<Mf
|
||||||
return c.match(/^[0-9a-f]{3,6}$/i) ? c : null;
|
return c.match(/^[0-9a-f]{3,6}$/i) ? c : null;
|
||||||
};
|
};
|
||||||
|
|
||||||
const useAnim = prefer.s.advancedMfm && prefer.s.animatedMfm;
|
const useAnim = props.isAnim ?? (prefer.s.advancedMfm && prefer.s.animatedMfm);
|
||||||
const isBlock = props.isBlock ?? false;
|
const isBlock = props.isBlock ?? false;
|
||||||
|
|
||||||
const SkFormula = defineAsyncComponent(() => import('@/components/SkFormula.vue'));
|
const SkFormula = defineAsyncComponent(() => import('@/components/SkFormula.vue'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue