{"repo":"markdoc/next.js","free":true,"listed":false,"github":"https://github.com/markdoc/next.js","clone":"git clone https://github.com/markdoc/next.js.git","description":"Markdoc plugin for Next.js","language":"JavaScript","stars":171,"topics":["loader","markdoc","markdown","nextjs","plugin","webpack"],"license":"MIT","category":"productivity","readme_excerpt":"@markdoc/next.js Note : this plugin will be treated as a beta version until v1.0.0 is released. Using the @markdoc/next.js plugin allows you to create custom .md and .mdoc pages in your Next.js apps, and automatically render them with markdoc . Setup The first thing you'll need to do is install @markdoc/next.js and add it to your project's config. 1. From your project, run this command to install @markdoc/next.js : 2. Open next.config.js and add the following code: When using Webpack: For Turbopack support, add the following configuration: 3. Create a new Markdoc file in pages/docs named getting-started.md . 4. Add some content to getting-started.md : See our docs for more options. Contributing Contributions and feedback are welcomed and encouraged. Feel free to open PRs here, or open issues in the Markdoc core repo. Follow these steps to set up the project: 1. Run npm install 1. Run npm test Code of conduct This project has adopted the Stripe Code of conduct. License This project uses the MIT license.","default_branch":null,"files":null,"tree":[],"storefront":"/r/markdoc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/markdoc/next.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}