Using MDX Plugins

Since MDX uses the remark/rehype ecosystems, you can use plugins to modify your documents' AST on different stages of the process in order to make your documentation better.

Set mdPlugins for remark plugins and hastPlugins for rehype plugins inside your configuration file.

import images from 'remark-images'
import emoji from 'remark-emoji'

export default {
  mdPlugins: [images, emoji],
}