mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-12-02 03:59:19 +08:00
docs: add note on video/media attrs. (#1559)
* docs: add note on video/media attrs. * update: refine decription. Co-authored-by: 沈唁 <52o@qq52o.cn>
This commit is contained in:
parent
37d9f0e121
commit
043c9c9f33
@ -73,6 +73,11 @@ Example:
|
||||
|
||||
If you embed the file as `iframe`, `audio` and `video`, then you may need to set the attributes of these tags.
|
||||
|
||||
?> Note, for the `audio` and `video` types, docsify adds the `controls` attribute by default. When you want add more attributes, the `controls` attribute need to be added manually if need be.
|
||||
```md
|
||||
[filename](_media/example.mp4 ':include :type=video controls width=100%')
|
||||
```
|
||||
|
||||
```markdown
|
||||
[cinwell website](https://cinwell.com ':include :type=iframe width=100% height=400px')
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user