markz
On this page

micromark-extension-frontmatter

frontmatter › should not support a single yaml fence (thematic break)

---
.
<hr />

frontmatter › should support empty yaml

---
---

frontmatter › should support yaml w/ content

---
a

b
---

frontmatter › should support content after yaml

---
a

b
---
# Heading
***
    code
.
<h1>Heading</h1>
<hr />
<pre><code>code
</code></pre>

frontmatter › should not support a prefix (indent) before a yaml opening fence

 ---
---
.
<hr />
<hr />

frontmatter › should not support a prefix (indent) before a yaml closing fence

---
 ---
.
<hr />
<hr />

frontmatter › should parse an arbitrary suffix after the opening and closing fence of yaml

---␣␣
---→␣

frontmatter › should not support other characters after the suffix on the opening fence of yaml

--- --
---
.
<hr />
<hr />

frontmatter › should not support other characters after the suffix on the closing fence of yaml

---
--- x
.
<hr />
<p>--- x</p>

frontmatter › should not support an opening yaml fence of more than 3 characters

----
---
.
<hr />
<hr />

frontmatter › should not support a closing yaml fence of more than 3 characters

---
----
.
<hr />
<hr />

frontmatter › should not support an opening yaml fence of less than 3 characters

--
---
.
<h2>--</h2>

frontmatter › should not support a closing yaml fence of less than 3 characters

---
--
.
<hr />
<p>--</p>

frontmatter › should support content in yaml

---
a
b
---

frontmatter › should not support yaml frontmatter in the middle

# Hello
---
a

b
---
+++
.
<h1>Hello</h1>
<hr />
<p>a</p>
<h2>b</h2>
<p>+++</p>

frontmatter › should not support frontmatter w/o closing

---
asd
.
<hr />
<p>asd</p>

frontmatter › should not support frontmatter in a container (list)

* ---
  asd
  ---
.
<ul>
<li>
<hr />
<h2>asd</h2>
</li>
</ul>

frontmatter › should not support frontmatter in a container (block quote)

> ---
  asd
  ---
.
<blockquote>
<hr />
</blockquote>
<h2>asd</h2>