SSheaf
Workflow

Markdown 导出微信公众号 HTMLMarkdown to Blog and Newsletter HTML

如果你习惯用 Markdown 写公众号,最烦人的部分通常不是写作,而是把文章搬进公众号后台后的二次排版。Sheaf 的公众号 HTML 导出就是为这个环节准备的。If you write in Markdown but publish in a rich-text editor, the painful part is usually cleanup after pasting. Sheaf exports paste-ready HTML for blogs, newsletters, and CMS editors.

为什么公众号文章适合先用 Markdown 写

Markdown 让作者先关注结构:标题层级、段落、列表、引用、代码块和图片。对于技术文章、产品说明、读书笔记和长文草稿,这种写法比直接在富文本编辑器里排版更稳定。

问题在于,公众号后台并不直接接受一篇完整的 Markdown 文件。你需要把 Markdown 转成带样式的富文本,再粘贴进去。Sheaf 在导出时会内联样式,尽量保留预览中的排版效果。

推荐工作流

  1. 在 Sheaf 中完成正文,使用分屏预览检查标题层级和段落节奏。
  2. 插入图片后确认图片路径或图床地址可访问。
  3. 开启中英文间距,让中文、英文、数字之间的间隔更适合阅读。
  4. 用 AI 改写时先审阅 diff,再应用到正文。
  5. 导出公众号 HTML,复制到公众号后台后做最后检查。
Sheaf 导出工作台界面截图

导出时需要重点检查什么

内容类型检查点
标题确认一级标题不会重复出现在封面标题和正文开头。
代码块确认语言标记正确,长代码在移动端不会破坏阅读。
图片确认图片已经上传到稳定地址,或能被公众号后台正确接收。
公式和图表复杂内容发布前建议在手机端预览一次。

适合哪些公众号作者

Sheaf 更适合认真写长文的作者:技术教程、AI 产品笔记、开发日志、知识管理文章、读书笔记和产品更新说明。如果你的文章包含代码块、图表、公式或很多中英文混排内容,先用 Markdown 再导出会更省心。

Why write in Markdown before publishing

Markdown lets you focus on structure first: headings, paragraphs, lists, quotes, code blocks, and images. That is useful for technical tutorials, product notes, reading notes, and long-form articles.

The problem is that many publishing tools expect rich text, not a raw Markdown file. Sheaf converts your draft into HTML with inlined styles so the pasted result is closer to the preview.

Recommended workflow

  1. Finish the Markdown draft in Sheaf and check heading hierarchy in split preview.
  2. Confirm images use stable local paths or hosted URLs.
  3. Enable CJK spacing if the article mixes Chinese, English, and numbers.
  4. Review AI edits as diffs before applying them.
  5. Export rich HTML and paste it into your blog, newsletter, or CMS editor.
Sheaf export studio screenshot

What to check before publishing

ContentCheck
HeadingsMake sure the article title and first heading are not duplicated.
Code blocksUse language markers and check long code on narrow screens.
ImagesUse stable public URLs when your publishing platform needs hosted images.
Math and diagramsPreview complex content on the target platform before publishing.

Who this workflow is for

It works best for technical writers, product builders, and newsletter authors whose drafts include code, diagrams, formulas, or careful typography.