Skip to content

How to configure plugin options when using vite #2541

Answered by wooorm
AdditionAddict asked this question in Q&A
Discussion options

You must be logged in to vote

Please take some time to read the docs. Such as: https://mdxjs.com/docs/extending-mdx/#using-plugins.

      rehypePlugins: [
        [rehypeMathjax, {
          chtml: {
            fontURL: "http://localhost:3000/fonts/MathJax_AMS-Regular.woff",
          },
        }],
      ],

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AdditionAddict
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