Update README & improve manual
This commit is contained in:
parent
d196645d88
commit
7de13415e7
4 changed files with 23 additions and 16 deletions
|
@ -31,6 +31,7 @@ A minimal, sidebar, responsive web design Jekyll theme that focuses on text pres
|
||||||
- Automatically recommend related posts
|
- Automatically recommend related posts
|
||||||
- Syntax highlighting
|
- Syntax highlighting
|
||||||
- Mathematical expressions
|
- Mathematical expressions
|
||||||
|
- Mermaid diagram & flowchart
|
||||||
- Search
|
- Search
|
||||||
- Atom Feeds
|
- Atom Feeds
|
||||||
- Disqus Comments
|
- Disqus Comments
|
||||||
|
|
|
@ -190,7 +190,7 @@ fi;
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
#### HTML
|
#### Html
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<div class="sidenav">
|
<div class="sidenav">
|
||||||
|
@ -207,21 +207,27 @@ fi;
|
||||||
</div>
|
</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
**Horizontal Scrolling**
|
#### Java
|
||||||
|
|
||||||
```html
|
```java
|
||||||
<div class="panel-group">
|
private void writeObject(java.io.ObjectOutputStream s)
|
||||||
<div class="panel panel-default">
|
throws java.io.IOException {
|
||||||
<div class="panel-heading" id="{{ category_name }}">
|
// Write out any hidden serialization magic
|
||||||
<i class="far fa-folder"></i>
|
s.defaultWriteObject();
|
||||||
<p>This is a very long long long long long long long long long long long long long long long long long long long long long line.</p>
|
|
||||||
</a>
|
// Write out HashMap capacity and load factor
|
||||||
</div>
|
s.writeInt(map.capacity());
|
||||||
</div>
|
s.writeFloat(map.loadFactor());
|
||||||
</div>
|
|
||||||
|
// Write out size
|
||||||
|
s.writeInt(map.size());
|
||||||
|
|
||||||
|
// Write out all elements in the proper order.
|
||||||
|
for (E e: map.keySet())
|
||||||
|
s.writeObject(e);
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Reverse Footnote
|
## Reverse Footnote
|
||||||
|
|
||||||
[^footnote]: The footnote source.
|
[^footnote]: The footnote source.
|
||||||
|
|
|
@ -8,7 +8,7 @@ tags: [writing]
|
||||||
|
|
||||||
## Naming and Path
|
## Naming and Path
|
||||||
|
|
||||||
Create a new file named `YYYY-MM-DD-TITLE.EXTENSION` and put it in the `_post/` of the root directory. Please note that the `EXTENSION` must be one of `md` and `markdown`. From `v2.4.1`, you can create sub-directories under `_posts/` to categorize posts.
|
Create a new file named `YYYY-MM-DD-TITLE.EXTENSION` and put it in the `_post/` of the root directory. Please note that the `EXTENSION` must be one of `md` and `markdown`.
|
||||||
|
|
||||||
## Front Matter
|
## Front Matter
|
||||||
|
|
||||||
|
@ -78,8 +78,7 @@ mermaid: true
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you can use it like other markdown language: surround the graph code with <code class="language-plaintext highlighter-rouge">```mermaid</code>
|
Then you can use it like other markdown language: surround the graph code with <code class="highlighter-rouge">```mermaid</code>.
|
||||||
and <code class="language-plaintext highlighter-rouge">```</code>.
|
|
||||||
|
|
||||||
## Images
|
## Images
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ Language: [English](../README.md) | 简体中文
|
||||||
- 语法高亮
|
- 语法高亮
|
||||||
- 二级目录
|
- 二级目录
|
||||||
- 数学表达式
|
- 数学表达式
|
||||||
|
- Mermaid 图表
|
||||||
- 搜索
|
- 搜索
|
||||||
- Atom 订阅
|
- Atom 订阅
|
||||||
- Disqus 评论
|
- Disqus 评论
|
||||||
|
|
Loading…
Reference in a new issue