mdx-bundler
next-mdx-enhanced
mdx-bundler | next-mdx-enhanced | |
---|---|---|
8 | 3 | |
1,696 | 494 | |
- | - | |
5.7 | 3.3 | |
about 1 month ago | about 1 year ago | |
JavaScript | JavaScript | |
MIT License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mdx-bundler
-
Should I use a CMS
Personally using https://github.com/kentcdodds/mdx-bundler
-
How to support admonition (or callout) in Markdown
Exact code could be different if you're using mdx-bundler, Contentlayer, or anything else. But there should be a similar API for adding components.
-
Give your blog superpowers with MDX in a Next.js
mdx-bundler
-
Powerful Code Blocks with Code Hike and MDX
Do note that Code Hike also works with Next MDX Remote and MDX Bundler however, we are going to look at a simple example with the official MDX plugin for Next.js.
-
mdx-bundler users: did you find a way to place a cover image in frontmatter?
i'm having a hard time finding a solution, just like others → https://github.com/kentcdodds/mdx-bundler/issues/70
-
Ask HN: How to build a light weight personal blog?
Depends on what functionality you'd like to add as you go. I recently built my site from scratch (with no prior experience) using NextJS, MDX and mdx-bundler [1]. Having the ability to add custom components, or statically generate a related posts matrix are all super useful.
1: https://github.com/kentcdodds/mdx-bundler
https://olickel.com
-
Quick comparison of MDX integration strategies with Next.js
MDX Bundler differs from all of the other packages listed above in that it is Framework agnostic, meaning you can use it outside of Next.js. Like next-mdx-remote, no changes to the next.config.js file are necessary.
-
How I Made My Multilingual Blog
To make Next.js works with MDX, we need to compile and bundle the markdown files. For this task, I decided to go with the new mdx-bundler library made by the famous Kent C. Dodds.
next-mdx-enhanced
-
Quick comparison of MDX integration strategies with Next.js
Like @next/mdx, you add next-mdx-enhanced to the project by exporting a function in the project's next.config.js file.
-
How I Made My Multilingual Blog
I don't have any experiences with the other libraries (e.g. next-mdx-enhanced, next-mdx-remote) so I won't judge the pros and cons of one compared to the others.
-
Release v0.9.0 · Evanw/Esbuild
React & next.js are worth evaluating. It's a super powerful full stack with everything from server side rendered data (REST APIs even) all the way to complete SPAs, all using the same react components. It's a slick little swiss-army knife that can make anything from a basic blog with markdown content, to a static marketing page, to a full client-first PWA experience.
MDX is another neat step, it's markdown + react components and fits in very well with next.js: https://github.com/hashicorp/next-mdx-enhanced
Vue, and Svelte to just get an idea of what other components systems are like. They're all equally capable and just have different tradeoffs and styles. Keep an eye on Svelte in particular as its next.js-like system (SvelteKit) is working on a major revamp to be serverless-first and is quite interesting. Once you learn one component system it's easy to switch between them all--they're all cribbing and building on top of each other's ideas. The whole space is innovating in a great way.
Web components are tood to learn and compare to component frameworks above. It's still a changing space but points to a nice future where we can all just publish and share components.
What are some alternatives?
next-mdx-remote - Load mdx content from anywhere through getStaticProps in next.js
mdx - Markdown for the component era
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]
Tailwind CSS - A utility-first CSS framework for rapid UI development.
snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️
Next.js - The React Framework
leerob.io - ✨ My portfolio built with Next.js, Tailwind, and Vercel.
esbuild-plugin-alias - esbuild plugin for path aliases
shiki - A beautiful yet powerful syntax highlighter
create-react-app-esbuild - Use esbuild in your create-react-app for faster compilation, development and tests