Skip to content

Commit 3d5c68a

Browse files
authored
Merge branch 'develop' into dependabot/npm_and_yarn/hosted-git-info-2.8.9
2 parents 9ec4241 + 043c9c9 commit 3d5c68a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/embed-files.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ Example:
7373

7474
If you embed the file as `iframe`, `audio` and `video`, then you may need to set the attributes of these tags.
7575

76+
?> 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.
77+
```md
78+
[filename](_media/example.mp4 ':include :type=video controls width=100%')
79+
```
80+
7681
```markdown
7782
[cinwell website](https://cinwell.com ':include :type=iframe width=100% height=400px')
7883
```

src/themes/buble.styl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ $sidebar-width = 16rem
101101
.markdown-section code
102102
background-color #f9f9f9
103103
border-radius 3px
104-
font-family Inconsolata
104+
font-family Inconsolata, monospace
105105
padding 0.2em 0.4rem
106106
white-space nowrap
107107

108108
.markdown-section pre
109109
background-color #f9f9f9
110110
border-left 2px solid #eee
111-
font-family Inconsolata
111+
font-family Inconsolata, monospace
112112
font-size 16px
113113
margin 0 0 1em 0
114114
padding 8px
@@ -159,7 +159,7 @@ $sidebar-width = 16rem
159159
background-color #f8f8f8
160160
border-radius 2px
161161
display block
162-
font-family Inconsolata
162+
font-family Inconsolata, monospace
163163
line-height 1.1rem
164164
max-width inherit
165165
overflow inherit

0 commit comments

Comments
 (0)