# 公众号排版打磨器 · 自测记录
日期：2026-10-27

## 用例 1：纯文字文章（含引用、列表、分隔线）
$ python3 scripts/md2wx.py inputs/example/article.md > demo/output/article.html
$ python3 scripts/check_html.py demo/output/article.html
结果：PASS — 2122 bytes / 14 块级元素全部内联样式

## 用例 2：含代码块 + 行内代码 + 参数列表
$ python3 scripts/md2wx.py inputs/example/article-with-code.md > demo/output/article-with-code.html
$ python3 scripts/check_html.py demo/output/article-with-code.html
结果：PASS — 3825 bytes / 26 块级元素全部内联样式

## 判据
- <style> 标签数必须为 0（公众号会剥掉）
- class 依赖必须为 0（后台重建 DOM）
- 块级元素 style 覆盖率必须 100%
- 不允许出现 h1
- 不允许写死 px 宽度

## 汇总
2/2 通过。
