diff options
author | 2022-07-29 10:22:57 -0500 | |
---|---|---|
committer | 2022-07-29 11:22:57 -0400 | |
commit | 1743fe140eb58d60e26cbd11a066bb60de046e0c (patch) | |
tree | f3e4f24e2ad90c80df47add8a29406cf93217d1a /.changeset | |
parent | 45bec97d28d97edd5c234caf3ec97e1977bea0f7 (diff) | |
download | astro-1743fe140eb58d60e26cbd11a066bb60de046e0c.tar.gz astro-1743fe140eb58d60e26cbd11a066bb60de046e0c.tar.zst astro-1743fe140eb58d60e26cbd11a066bb60de046e0c.zip |
feat: support `layout` in MDX frontmatter (#4088)
* deps: add gray-matter
* feat: support layout frontmatter property
* test: frontmatter, content prop
* docs: update layout recommendation
* deps: fix lockfile
* chore: changeset
* fix: inherit rollup plugin transform
* fix: avoid parsing frontmatter on custom parsers
* fix: match YAML err handling from md
* docs: absolute url to docs
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: formatting
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Diffstat (limited to '.changeset')
-rw-r--r-- | .changeset/witty-crews-worry.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.changeset/witty-crews-worry.md b/.changeset/witty-crews-worry.md new file mode 100644 index 000000000..767b96bf4 --- /dev/null +++ b/.changeset/witty-crews-worry.md @@ -0,0 +1,5 @@ +--- +'@astrojs/mdx': minor +--- + +Support "layout" frontmatter property |