docs: update embed files

This commit is contained in:
qingwei.li 2018-02-11 19:39:23 +08:00 • committed by cinwell.li
commit bf5d999296
3 changed files with 1 additions and 31 deletions

View file

@ -55,16 +55,6 @@ Did you see it? You only need to write directly. You can check [MDN](https://dev
Embedding any type of source code file, you can specify the highlighted language or automatically identify. Embedding any type of source code file, you can specify the highlighted language or automatically identify.
```markdown
[](_media/example.html ':include :type=code')
```
⬇️
[](_media/example.html ':include :type=code')
Or Specify the language
```markdown ```markdown
[](_media/example.html ':include :type=code text') [](_media/example.html ':include :type=code text')
``` ```

View file

@ -55,16 +55,6 @@ Did you see it? You only need to write directly. You can check [MDN](https://dev
Embedding any type of source code file, you can specify the highlighted language or automatically identify. Embedding any type of source code file, you can specify the highlighted language or automatically identify.
```markdown
[](_media/example.html ':include :type=code')
```
⬇️
[](_media/example.html ':include :type=code')
Or Specify the language
```markdown ```markdown
[](_media/example.html ':include :type=code text') [](_media/example.html ':include :type=code text')
``` ```

View file

@ -50,17 +50,7 @@ docsify 4.6 开始支持嵌入任何类型的文件到文档里。你可以将
## 代码块高亮 ## 代码块高亮
如果是嵌入一个代码块,你可以设置高亮的语言,或者让它自动识别。 如果是嵌入一个代码块,你可以设置高亮的语言,或者让它自动识别。这里是手动设置高亮语言
```markdown
[](_media/example.html ':include :type=code')
```
⬇️
[](_media/example.html ':include :type=code')
这里是手动设置高亮语言
```markdown ```markdown
[](_media/example.html ':include :type=code text') [](_media/example.html ':include :type=code text')