Gutenberg and Markdown

Update:

Jetpack now has its own built-in Markdown block:

jetpack-markdown-block

I’d highly recommend using it instead 🙂


Original post below:

I’ve been playing around with Gutenberg a tiny bit recently and have realized that, at least in my case, it kind of eats the Jetpack Markdown module and doesn’t offer full markdown support.

too-slow.gif

I honestly know nothing about writing blocks for Gutenberg, but luckily GitHub user nuzzio does 🙂

This recent, but now closed PR to Jetpack was pretty much everything necessary to build a working block.

I’ve put my code up on GitHub as a WordPress plugin:

md1.PNG

md2.PNG

Like I said, I don’t know what I’m doing–so consider this plugin super beta.

Other Posts Not Worth Reading

Hey, You!

Like this kind of garbage? Subscribe for more! I post like once a month or so, unless I found something interesting to write about.


Comments

3 responses to “Gutenberg and Markdown”

  1. I begin to hate Gutenberg. I use JP Markdown so I don’t need Jetpack and it won’t work in blocks. So I’m very happy to find your solution. I will try it – but still need Jetpack, how boring.
    Thanks a lot for your sharing.

  2. You could also try EditorsKit Plugin – https://wordpress.org/plugins/block-options/ . Here’s the markdown preview : https://twitter.com/phpbits/status/1136104220233306112

  3. […] the latest one is how to use Markdown tables. The new Gutenberg editor understands Markdown to some extent, so using pound sign gives you headers for instance, but it does not get most of it, the base […]

Leave a Reply