Skip to content

[Content v2] Use frontmatter settings inside md #1220

@Rigo-m

Description

@Rigo-m

Is your feature request related to a problem? Please describe

Netlify CMS provides you with the option to save frontmatter variables without touching the underlying .md file. I would love to use netlify CMS on top of content v2, but it seems that I can't reuse frontmatter vars inside the .md itself.

Describe the solution you'd like

---
some_var_inserted_by_netlify_cms: This is a test
---

# Check this title from netlify cms
## ${some_var_inserted_by_netlify_cms}

Describe alternatives you've considered

I've tried installing the remark-mdx-frontmatter plugin but didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions