Skip to content

Support double/tripple dash in MD #1330

Answered by xhejtman
xhejtman asked this question in Q&A
Discussion options

You must be logged in to vote

such source config works:

import { defineDocs, defineConfig } from 'fumadocs-mdx/config';
import remarkSmartypants from 'remark-smartypants';

export const { docs, meta } = defineDocs({
  dir: 'content/docs',
});

export default defineConfig({
        lastModifiedTime: 'git',
        mdxOptions: {
          remarkPlugins: [remarkSmartypants],
        },
});

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@xhejtman
Comment options

@xhejtman
Comment options

Answer selected by xhejtman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants