fix(embed): strip front matter from included markdown (#2752)

This commit is contained in:
Luffy
2026-07-08 11:16:12 +08:00
committed by GitHub
parent 018ff1c68b
commit e6ab47cff0
3 changed files with 43 additions and 4 deletions
+4
View File
@@ -48,6 +48,10 @@ Front Matter, commonly utilized in blogging systems like Jekyll, serves to defin
When using Markdown, YAML front matter will be stripped from the rendered content. The attributes cannot be used in this case.
```html
<script src="//cdn.jsdelivr.net/npm/docsify@5/dist/plugins/front-matter.min.js"></script>
```
```markdown
[filename](_media/example-with-yaml.md ':include')
```