📄 Markdown 转 YAMLMarkdown to YAML
把 Markdown 标题/列表粗结构导出为 YAML 列表。Export Markdown headings/lists roughly as a YAML list.
使用说明与常见问题How-to & FAQ
「Markdown 转 YAML」是什么?What is the Markdown to YAML tool?
把 Markdown 标题/列表粗结构导出为 YAML 列表。Export Markdown headings/lists roughly as a YAML list.
如何使用「Markdown 转 YAML」?How do I use the Markdown to YAML tool?
在「Markdown 转 YAML」中,先在上方输入或粘贴内容,然后点击「转换」、「复制」按钮即可。In the Markdown to YAML: Type or paste your input above, then click "Convert", "Copy".
导出的 YAML 是什么结构?What does the YAML look like?
每个标题(# 到 ######)开始一项,记录 level(标题级别)、title(标题文字)和 body(其下的列表项和文字,按行合并);标题之前的内容归入 level 0 的一项。链接、强调等格式不会解析,只按原文保留。YAML 由 js-yaml 生成。Each heading (# to ######) starts an item with level (heading depth), title (heading text) and body (the list items and text under it, joined by lines); content before the first heading goes into a level-0 item. Links and emphasis are kept as raw text, not parsed. The YAML is written with js-yaml.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「Markdown 转 YAML」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Markdown to YAML runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「Markdown 转 YAML」免费吗?需要注册吗?Is the Markdown to YAML free? Do I need an account?
「Markdown 转 YAML」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Markdown to YAML is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.