docs: add executeScript demo

This commit is contained in:
qingwei.li 2017-02-18 23:04:52 +08:00 • committed by cinwell.li
commit 3e7d6ab26c
6 changed files with 125 additions and 4 deletions

View file

@ -267,3 +267,25 @@ window.$docsify = {
autoHeader: true
}
```
## execute-script
- type: `Boolean`
Execute the script on the page. Only parse the first script tag([demo](themes)). If Vue is present, it is turned on by default.
```js
window.$docsify = {
executeScript: true
}
```
```markdown
## This is test
<script>
console.log(2333)
</script>
```