跳转到内容

@studiocms/mdx

此内容尚不支持你的语言。

This plugin enables MDX Support within StudioCMS.

  1. Install the package using the following command:

    终端窗口
    npm run studiocms add @studiocms/mdx
  2. Your StudioCMS config should now include @studiocms/mdx:

    studiocms.config.mjs
    import { defineStudioCMSConfig } from 'studiocms/config';
    import mdx from '@studiocms/mdx';
    export default defineStudioCMSConfig({
    plugins: [
    mdx(),
    ],
    });