forked from zhangjikai/gitbook-use
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11833a9
commit 33295ee
Showing
4 changed files
with
117 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
{% sample lang="js" %} | ||
这里演示 JavaScript 如何输出信息到控制台 | ||
|
||
```js | ||
console.log('Hello World'); | ||
``` | ||
|
||
{% sample lang="java" %} | ||
这里演示 Java 如何输出信息到控制台 | ||
|
||
```java | ||
System.out.println("Hello World"); | ||
``` | ||
|
||
{% common %} | ||
这里是 JavaScript 和 Java 共同的信息 | ||
|
||
{% endmethod %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,132 +1,132 @@ | ||
{ | ||
"title": "GitBook Use", | ||
"description": "记录 GitBook 的配置和一些插件的使用", | ||
"author": "zhangjikai", | ||
"output.name": "site", | ||
"language": "zh-hans", | ||
"gitbook": "3.2.2", | ||
"root": ".", | ||
"title": "GitBook 使用教程", | ||
"description": "记录 GitBook 的配置和一些插件的使用", | ||
"author": "zhangjikai", | ||
"output.name": "site", | ||
"language": "zh-hans", | ||
"gitbook": "3.2.2", | ||
"root": ".", | ||
"structure": { | ||
"readme": "introduction.md" | ||
}, | ||
}, | ||
"links": { | ||
"sidebar": { | ||
"Home": "http://www.zhangjikai.com" | ||
} | ||
}, | ||
}, | ||
"plugins": [ | ||
"-lunr", | ||
"-search", | ||
"-lunr", | ||
"-search", | ||
"-highlight", | ||
"-livereload", | ||
"search-plus@^0.0.11", | ||
"simple-page-toc@^0.1.1", | ||
"github@^2.0.0", | ||
"[email protected]", | ||
"edit-link@^2.0.2", | ||
"disqus@^0.1.0", | ||
"prism@^2.1.0", | ||
"prism-themes@^0.0.2", | ||
"advanced-emoji@^0.2.1", | ||
"anchors@^0.7.1", | ||
"include-codeblock@^3.0.2", | ||
"ace@^0.3.2", | ||
"emphasize@^1.1.0", | ||
"katex@^1.1.3", | ||
"splitter@^0.0.8", | ||
"mermaid@^0.0.9", | ||
"tbfed-pagefooter@^0.0.1", | ||
"expandable-chapters-small@^0.1.7", | ||
"sectionx@^3.1.0", | ||
"baidu@^0.1.0", | ||
"donate@^1.0.2", | ||
"local-video@^1.0.1", | ||
"sitemap-general@^0.1.1", | ||
"[email protected]", | ||
"favicon@^0.0.2", | ||
"todo@^0.1.3" | ||
], | ||
"search-plus@^0.0.11", | ||
"simple-page-toc@^0.1.1", | ||
"github@^2.0.0", | ||
"[email protected]", | ||
"edit-link@^2.0.2", | ||
"disqus@^0.1.0", | ||
"prism@^2.1.0", | ||
"prism-themes@^0.0.2", | ||
"advanced-emoji@^0.2.1", | ||
"anchors@^0.7.1", | ||
"include-codeblock@^3.0.2", | ||
"ace@^0.3.2", | ||
"emphasize@^1.1.0", | ||
"katex@^1.1.3", | ||
"splitter@^0.0.8", | ||
"mermaid@^0.0.9", | ||
"tbfed-pagefooter@^0.0.1", | ||
"expandable-chapters-small@^0.1.7", | ||
"sectionx@^3.1.0", | ||
"donate@^1.0.2", | ||
"local-video@^1.0.1", | ||
"sitemap-general@^0.1.1", | ||
"anchor-navigation-ex@0.1.8", | ||
"favicon@^0.0.2", | ||
"todo@^0.1.3", | ||
"3-ba@^0.9.0" | ||
], | ||
"pluginsConfig": { | ||
"theme-default": { | ||
"showLevel": true | ||
}, | ||
}, | ||
"disqus": { | ||
"shortName": "gitbookuse" | ||
}, | ||
}, | ||
"prism": { | ||
"css": [ | ||
"prism-themes/themes/prism-base16-ateliersulphurpool.light.css" | ||
] | ||
}, | ||
}, | ||
"github": { | ||
"url": "https://github.com/zhangjikai/gitbook-use" | ||
}, | ||
}, | ||
"github-buttons": { | ||
"repo": "zhangjikai/gitbook-use", | ||
"repo": "zhangjikai/gitbook-use", | ||
"types": [ | ||
"star" | ||
], | ||
], | ||
"size": "small" | ||
}, | ||
}, | ||
"include-codeblock": { | ||
"template": "ace", | ||
"unindent": true, | ||
"template": "ace", | ||
"unindent": true, | ||
"edit": true | ||
}, | ||
}, | ||
"sharing": { | ||
"weibo": true, | ||
"facebook": true, | ||
"twitter": true, | ||
"google": false, | ||
"instapaper": false, | ||
"vk": false, | ||
"weibo": true, | ||
"facebook": true, | ||
"twitter": true, | ||
"google": false, | ||
"instapaper": false, | ||
"vk": false, | ||
"all": [ | ||
"facebook", | ||
"google", | ||
"twitter", | ||
"weibo", | ||
"facebook", | ||
"google", | ||
"twitter", | ||
"weibo", | ||
"instapaper" | ||
] | ||
}, | ||
}, | ||
"tbfed-pagefooter": { | ||
"copyright": "Copyright © zhangjikai.com 2017", | ||
"modify_label": "该文件修订时间:", | ||
"copyright": "Copyright © zhangjikai.com 2017", | ||
"modify_label": "该文件修订时间:", | ||
"modify_format": "YYYY-MM-DD HH:mm:ss" | ||
}, | ||
"baidu": { | ||
}, | ||
"3-ba": { | ||
"token": "ff100361cdce95dd4c8fb96b4009f7bc" | ||
}, | ||
}, | ||
"donate": { | ||
"wechat": "https://zhangjikai.com/resource/weixin.png", | ||
"alipay": "https://zhangjikai.com/resource/alipay.png", | ||
"title": "", | ||
"button": "赏", | ||
"alipayText": "支付宝打赏", | ||
"wechat": "https://zhangjikai.com/resource/weixin.png", | ||
"alipay": "https://zhangjikai.com/resource/alipay.png", | ||
"title": "", | ||
"button": "赏", | ||
"alipayText": "支付宝打赏", | ||
"wechatText": "微信打赏" | ||
}, | ||
}, | ||
"simple-page-toc": { | ||
"maxDepth": 3, | ||
"maxDepth": 3, | ||
"skipFirstH1": true | ||
}, | ||
}, | ||
"edit-link": { | ||
"base": "https://github.com/zhangjikai/gitbook-use/edit/master", | ||
"base": "https://github.com/zhangjikai/gitbook-use/edit/master", | ||
"label": "Edit This Page" | ||
}, | ||
}, | ||
"sitemap-general": { | ||
"prefix": "http://gitbook.zhangjikai.com" | ||
}, | ||
}, | ||
"anchor-navigation-ex": { | ||
"isRewritePageTitle": false, | ||
"tocLevel1Icon": "fa fa-hand-o-right", | ||
"tocLevel2Icon": "fa fa-hand-o-right", | ||
"isRewritePageTitle": false, | ||
"tocLevel1Icon": "fa fa-hand-o-right", | ||
"tocLevel2Icon": "fa fa-hand-o-right", | ||
"tocLevel3Icon": "fa fa-hand-o-right" | ||
}, | ||
}, | ||
"sectionx": { | ||
"tag": "b" | ||
}, | ||
}, | ||
"favicon": { | ||
"shortcut": "favicon.ico", | ||
"shortcut": "favicon.ico", | ||
"bookmark": "favicon.ico" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters