
For developers reading this, that means there’s no save function.

Editor onlyĪs I mentioned, the block only renders within the editor.

Markdown Comment is essentially a single line RichText component with a few nuances: 1. Now the block itself is relatively simple. Having the ability to add, and keep, any relevant editing comments within my posts, without rendering them on the front-end, means that I am freed up to mentally jot any idea down without thinking about it. While I do love Iceberg, once I publish an article I typically bring back the default Gutenberg experience - thus removing any comments I previously added. I knew I wanted to lean in on block plugins to understand the ins-and-outs of this new WordPress plugin classification, so it seemed fitting to serve a need of mine and gain some experience while I’m at it.īut why markdown comments? I honestly enjoy drafting articles either locally in Ulysses, or on my blog here in the Iceberg Editor. This is the first block I’ve directly published in a while. The Markdown Comment block by Rich Tabor, available in the Block DirectoryĪnd even better, it’s available to anyone running WordPress 5.5 or later, just by searching for it within your local Block Library. So naturally, I hit the ground running and pushed out a new block to the WordPress Block Directory to do just that - aptly called the Markdown Comment block. Last week, while editing an upcoming article all about block plugins and the WordPress block directory, I wanted to add persistent notes and reminders within my post content – but didn’t find a proper solution.

Hey, so I made a new block plugin for adding markdown comments that only display while editing a post with Gutenberg.
