How to Use mdx-bundler with Next.js


MDX is the extension of markdown that allows us to write React Component inside markdown. It helps us to make our content very interactive and dynamic. MDX-bundler is an asynchronous function to compile and bundle our MDX files with their dependency. To compile mdx files, it uses XDM, a powerful MDX compiler with lots of features. To render the bundled MDX code, we need to import **getMDXComponent** in the client. In this article, I’ll guide you through all the features of this package.



Source link

Latest

This AI Creates Videos From a Couple of Images

Researchers created a simple collection of photos and transformed them into a 3-dimensional model. The best thing is that it didn’t even need...

POS provider for MSMEs Mswipe develops scoring tool for banks to better assess borrowers’ creditworthiness

Launched in 2011. Mswipe’s investors include B Capital, UC-RNT, Falcon Edge Capital, Matrix Capital Partners, DSG Partners, and Epiq Capital. Photographer: Dhiraj Singh/BloombergPoint...