Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brycerussell/astro-default-frontmatter
A Remark plugin for Astro that applies a default frontmatter/layouts to markdown files based on their directory
https://github.com/brycerussell/astro-default-frontmatter
astro frontmatter markdown remark
Last synced: 26 days ago
JSON representation
A Remark plugin for Astro that applies a default frontmatter/layouts to markdown files based on their directory
- Host: GitHub
- URL: https://github.com/brycerussell/astro-default-frontmatter
- Owner: BryceRussell
- Created: 2022-08-23T00:11:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-23T21:13:17.000Z (about 2 years ago)
- Last Synced: 2024-10-04T18:19:58.693Z (about 2 months ago)
- Topics: astro, frontmatter, markdown, remark
- Language: TypeScript
- Homepage: https://stackblitz.com/edit/github-hfgk3n
- Size: 220 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Astro Default Frontmatter
[Stackblitz Demo](https://stackblitz.com/edit/github-hfgk3n)
This is a simple collection of remark plugins for Astro that allows you to define a default frontmatter for you markdown files
**Plugins**:
- [`defaultLayout`](/package#defaultlayout) define a default layout for ALL markdown
- [`defaultFrontmatter`](/package#defaultfrontmatter) define a default frontmatter for ALL markdown
- [`defaultFrontmatterAdvanced`](/package#defaultfrontmatteradvanced) define a default frontmatter based on the files directory in the project[Check out the docs -->](/package#readme)