BACK TO DIRECTORY

SLNWP Html and MD Blocks for Postie

by James Harvey

0.0
(0 ratings)

This is an addon for the Postie plugin (email-to-post). It does nothing on its own – Postie must be installed and active.

By default, Postie saves emailed content as a flat HTML/text blob, so a post created from an email opens in the block editor as one big Classic/HTML block rather than proper paragraph/heading/image blocks – and a big blob is difficult to edit afterward.

SLNWP Html and MD Blocks for Postie converts that emailed content into real, individually-editable Gutenberg blocks before the post is saved with the ability to further format using markdown syntax within <md>...</md>.

  • Rich HTML emails (Outlook/Gmail-style formatted mail) are normalized into blocks.
  • Markdown syntax (#/## headings, blank-line paragraphs, **bold**, [links](url), */- lists, > quotes) wrapped in an explicit <md>...</md> block is parsed into native blocks. See the FAQ below.
  • Emailed photo attachments become core/image blocks referencing the real WordPress attachment Postie already created, not bare <img> tags.
  • Bullet and numbered lists become real core/list blocks (with each item as its own core/list-item, including nested sub-lists), not plain text.
  • Blockquotes (>) become real core/quote blocks, with their contents as native inner blocks.
  • Anything not yet natively mapped (code, tables – deferred past v1) falls back to a core/html block, so content is never silently dropped.

Screenshots

The plugin's settings page, under Postie's menu - turn HTML block conversion and Markdown parsing on or off independently.

The plugin's settings page, under Postie's menu - turn HTML block conversion and Markdown parsing on or off independently.

Plugin Details

Active Installs
0
Total Downloads
168
Version
0.1.22
Requires WP
6.2
Requires PHP
8.2
Tested Up To
7.1
Added
2026-09-07
Last Updated
2026-09-13 3:52am GMT

Ratings

5
0
4
0
3
0
2
0
1
0