transform_for_wechat
Converts markdown to WeChat-formatted HTML. Splits paragraphs, handles code blocks, converts hyperlinks to footnotes, adds templates, and generates three title candidates.
Instructions
将 markdown 内容转换为公众号适配的 HTML 格式。自动段落切分、代码块处理、超链接转脚注、添加头尾模板,并生成 3 个标题候选。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | 文章原标题(用于生成标题候选) | |
| raw_markdown | Yes | 原始 markdown 内容 | |
| apply_template | No | 是否应用头尾模板 |