nuxt / nuxt.com

The Nuxt website, made with Nuxt.
https://nuxt.com
MIT License
299 stars 156 forks source link

[Milkdown] On serialize, component props should keep their current format `inline` or `yaml` #496

Closed benjamincanac closed 2 years ago

benjamincanac commented 2 years ago

https://content-v2.nuxtjs.org/guide/writing/mdc#props CleanShot 2022-05-12 at 16.33.17@2x.png

benjamincanac commented 2 years ago

@Atinux By default, which one should we choose?

benjamincanac commented 2 years ago

Here is an example where I changed nothing but text: https://github.com/nuxt/content/commit/dc32b60c0a1c568f3d17f9681d1f3577a5f8ebc6, on this line https://github.com/nuxt/content/commit/dc32b60c0a1c568f3d17f9681d1f3577a5f8ebc6#diff-b4b3dde8fb64bfd3b6268e7ff15585ba02bf482c0cf1221cfae837f71f9700b0R10 we can see all the props are changed to inline format.