
SLNWP Html and MD Blocks for Postie
v0.1.22James Harvey · 2026年9月7日 上架
Converts Postie's emailed-in post content (Markdown plain-text or rich HTML) into native Gutenberg blocks instead of raw HTML.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 355
- 最近更新
- 2026年9月13日
需要 WordPress 6.2+已测试到 7.1.5PHP 8.2+
贡献者
截图
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/imageblocks referencing the real WordPress attachment Postie already created, not bare<img>tags. - Bullet and numbered lists become real
core/listblocks (with each item as its owncore/list-item, including nested sub-lists), not plain text. - Blockquotes (
>) become realcore/quoteblocks, with their contents as native inner blocks. - Anything not yet natively mapped (code, tables – deferred past v1) falls back to a
core/htmlblock, so content is never silently dropped.
