mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-17 04:31:18 +08:00
fix(embed): strip front matter from included markdown (#2752)
This commit is contained in:
@@ -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')
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user