String Utilities 工具已更新 2 个月前

Markdown Front Matter Extractor

Separate YAML front matter from the body of any Markdown file. The tool returns the raw YAML, parsed metadata, and the content without the metadata block.

永久免费 易于使用 立竿见影的效果 私密且安全

使用 Markdown Front Matter Extractor

Markdown 前置信息提取器

从文档中提取 YAML 前置信息、已解析的元数据以及干净的 Markdown 内容。

输入 Markdown

粘贴可能以 YAML 前置信息开头的 Markdown 代码
前言部分以以下内容开头: --- 位于第一行,并以另一个 ---.
无前言
检测状态
0 键
元数据字段

提取结果

元数据、原始 YAML、内容和完整的 JSON
复制内容
复制完整 JSON
前言提示
此工具适用于博客文章、文档页面、静态网站内容、变更日志以及带有 YAML 元数据的文件。

阅读内容

了解该工具的工作原理以及何时使用它。

The Markdown Front Matter Extractor parses YAML front matter from Markdown files used in static site generators like Jekyll, Hugo, and Eleventy, and returns the metadata and remaining content separately.

Why Use This Tool?

Front matter contains important metadata like title, date, tags, and layout. Extracting it helps with content management, bulk metadata editing, and migrating between static site generators.

How It Works

  • Paste Markdown content that starts with YAML front matter.
  • Click Extract to parse the metadata block.
  • View the parsed JSON, raw YAML, and the content without front matter.
  • Copy sections individually or download the full JSON.

Key Features

  • Supports YAML front matter (--- delimiters)
  • Returns has_front_matter flag, metadata, raw YAML, and content
  • Copy raw YAML, content, or full JSON
  • Download full JSON report

评论 (0)

用于用户讨论、边界情况及后续建议。
发表评论
您的评论提交后将公开展示。
目前尚无评论。快来发表第一条评论吧!
请告诉我们!
报告此工具的问题

请描述您遇到的问题,以便我们进行调查并改进该工具。

什么最有帮助
请提供输入内容、预期结果、实际结果、浏览器/设备信息,如有帮助,请附上截图。
“截图”按钮会截取浏览器中的页面,并将生成的图片作为附件添加到此表单中。
整页截图
通过 newisty 在您的浏览器中捕获。
尚未截取屏幕截图。
工具 报告