Remark plugins are a little esoteric, and with the rise of Gatsby, theyโre becoming more and more important.
Remark is a markdown parser built in JavaScript. "Parser" doesn't do Remark justice. Remark is a whole compiler ecosystem built on plugins.
It's the backbone of all Gatsby magic that involves converting markdown into HTML.
There are many Remark plugins, and the list keeps growing. This article is about how to build your own. โ๏ธ
Why you should build a Remark plugin
Because you want a feature you can't find yet. Simple as that.
For me, it was two features, so I built 2 plugins. But I packaged them both in the markdown-to-tweet package.
Here's an early preview ๐
Look at me, I can ๐๐๐ฒ๐ฒ๐ ๐ถ๐ป ๐ฏ๐ผ๐น๐ฑ and even use ๐ฆ๐ฎ๐ฑ๐ฉ๐ข๐ด๐ช๐ด wherever I want. Even ๐ญ๐ช๐ฌ๐ฆ ๐ต๐ฉ๐ช๐ด#ThreadCompiler step 1 ๐ค pic.twitter.com/Zp7AIzFBTA

