with-heart (@grow_love) is working on a course platform and they’re building and learning about unified in public.
If you want to learn about unified too, or already know some bits but feel like you’re missing some others, you can follow along in their threads
What happened in unified? its been too long. But here's a very short rundown of what happened recently: opencollective.com/unified/u…. ESM, types, MDX 2 getting closer, and docs!
GitHub added footnote support last week[^1], and unified has support for them! If you were using `remark-footnotes` before you can uninstall it; to use GH style footnotes, use `remark-gfm@3`!
[^1]: Here’s their blogpost: github.blog/changelog/2021-0…
CVE-2021-39199: we had a security incident in `remark-html`. If you’re on v13 or v14, `npm update` fixes it.
On older versions, either upgrade majors or pass `{sanitize: true}`.
More info: github.com/remarkjs/remark-h…
🚀 Introducing Astro: A New Kind of Static Site Builder
⚡️ Works with React, Preact, Svelte, Vue
⚡️ Astro renders everything to static HTML
⚡️ Result: 0 bytes of JS, by default
⚡️ Interactive components load on demand
Ship less JavaScript.
astro.build/blog/introducing…
Did you know there’s also an XML syntax tree connected to unified?
If you’re dealing with XML, such as for RSS feeds, sitemaps, SAML, word docs, and the like, then xast might help!
github.com/syntax-tree/xast
🔥Gatsby v3.3
What’s new:
🚀Performance optimizations: improvements to JavaScript bundling, up to 30-40%
📝 Upgrade to latest Remark packages
🎨Upgrade to the latest Sharp release, support for M1 Macbooks and other improvements
Read more here: gatsbyjs.com/docs/reference/…
ALT Announcing: Gatsby v3.3. npm install gatsby @ latest.
📦 MDX v2.0.0-next.9 has been released!
It features the completely new parser (via micromark) in addition to many performance improvements. Give it a try and let us know if you encounter any issues.
How to turn markdown into HTML with remark? How to do the inverse? And what about embedded HTML *inside* markdown?
Complex for a lot of newcomers. Now answered here: unifiedjs.com/learn/recipe/r…
ALT How to configure remark to parse html embedded in markdown, as meme text on "fry from futurama holding money", which normally includes the caption "shut up an take my money"