{"repo":"micromark/micromark-extension-frontmatter","free":true,"listed":false,"github":"https://github.com/micromark/micromark-extension-frontmatter","clone":"git clone https://github.com/micromark/micromark-extension-frontmatter.git","description":"micromark extension to support frontmatter (YAML, TOML, etc)","language":"JavaScript","stars":26,"topics":["micromark","micromark-extension","frontmatter","yaml","toml","gfm","markdown"],"license":"MIT","category":"productivity","readme_excerpt":"micromark-extension-frontmatter [![Build][badge-build-image]][badge-build-url] [![Coverage][badge-coverage-image]][badge-coverage-url] [![Downloads][badge-downloads-image]][badge-downloads-url] [![Size][badge-size-image]][badge-size-url] [micromark][github-micromark] extensions to support frontmatter (YAML, TOML, and more). Contents What is this? When to use this Install Use API frontmatter(options?) frontmatterHtml(options?) toMatters(options?) Info Matter Options Preset Examples Authoring HTML CSS Syntax Types Compatibility Security Related Contribute License What is this? This package contains two extensions that add support for frontmatter syntax as often used in markdown to [ micromark ][github-micromark]. Frontmatter is a metadata format in front of the content. It’s typically written in YAML and is often used with markdown. Frontmatter does not work everywhere so it makes markdown less portable. As there is no spec for frontmatter in markdown, these extensions follow how YAML frontmatter works on github.com . It can also parse TOML frontmatter, just like YAML except that it uses a + . When to use this You can use these extensions when you are working with [ micromark ][github-micromark] already. When you need a syntax tree, you can combine this package with [ mdast-util-frontmatter ][github-mdast-util-frontmatter]. All these packages are used [ remark-frontmatter ][github-remark-frontmatter], which focusses on making it easier to transform content by abstracting these ","default_branch":null,"files":null,"tree":[],"storefront":"/r/micromark","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/micromark/micromark-extension-frontmatter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}