Skip to content

feat: add support for yaml [props] props syntax#28

Merged
farnabaz merged 4 commits into
mainfrom
feat/props-codeblock
Apr 15, 2026
Merged

feat: add support for yaml [props] props syntax#28
farnabaz merged 4 commits into
mainfrom
feat/props-codeblock

Conversation

@farnabaz

Copy link
Copy Markdown
Contributor

There two syntaxes are same, and second one will be promoted and used by default, because it renderes good in all markdown renderes

frontmatter style

::home-hero
---
primary:
  text: 38K+ GitHub stars
  url: https://github.com/nuxt/nuxt.js
---
::

::home-hero

primary:
text: 38K+ GitHub stars
url: https://github.com/nuxt/nuxt.js

::

codeblock style

::home-hero
```yaml
primary:
  text: 38K+ GitHub stars
  url: https://github.com/nuxt/nuxt.js
```
::

::home-hero

primary:
  text: 38K+ GitHub stars
  url: https://github.com/nuxt/nuxt.js

::

@pkg-pr-new

pkg-pr-new Bot commented Apr 14, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@comark/markdown-it@28

commit: db9d9f1

@farnabaz farnabaz merged commit ce3658f into main Apr 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant