> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/build/markdown.md).

# 在 Duaer 里用 Markdown 做格式转换

在 Duaer 里，Markdown 节点在 Markdown 和 HTML 之间转换。结果写到 Destination Key 指定的字段。
## HTML 转成 Markdown

1. 搜索 Markdown，接到带 HTML 的节点后面。
2. Mode 保持 HTML to Markdown。
3. HTML 填字段或表达式，例如 {{ $json.body }}。
4. Destination Key 写结果字段名，例如 markdown。
5. 点执行此步骤。输出里多了这个字段。

Mode 选 Markdown to HTML 时，填 Markdown，同样用 Destination Key 收结果。画布上的便签说明见 [在 Duaer 的便签里用 Markdown](/zh/Duaer-Organizations/sticky-notes.md)，那是另一处。
## Questions

### Duaer 的 Markdown 节点会改掉原来的 HTML 字段吗？

不会默认覆盖。结果写到 Destination Key。原来的字段还在，除非你后面用 Edit Fields 去掉。

