Skip to content

Handle multiline yaml fields (component props frontmatter key) #60

@MickL

Description

@MickL

One big downside I had in the "old" Nuxt Studio was that fields in frontmatter were just text fields with no markdown support. One could use markdown syntax, but there was no toolbar and the text couldnt be multiline. This worked well for documentations, where you have some static fields with dynamic content below, but this doesnt work for other sites that should be a mix of static component positions and dynamic content.

Would be cool if this could be different in new Nuxt Studio!

---
title: hello _world_
---

::my-component
---
description: |
    this is a
    multiline
    *markdown*
    string
---
Hello _world_, this is the slot content
::

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions