Skip to content

Commit 6bdee5e

Browse files
committed
Update README & improve manual
1 parent 3017301 commit 6bdee5e

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ A minimal, sidebar, responsive web design Jekyll theme that focuses on text pres
3131
- Automatically recommend related posts
3232
- Syntax highlighting
3333
- Mathematical expressions
34+
- Mermaid diagram & flowchart
3435
- Search
3536
- Atom Feeds
3637
- Disqus Comments

Diff for: _posts/2019-08-08-text-and-typography.md

+19-13
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ fi;
190190
```
191191
{% endraw %}
192192

193-
#### HTML
193+
#### Html
194194

195195
```html
196196
<div class="sidenav">
@@ -207,20 +207,26 @@ fi;
207207
</div>
208208
```
209209

210-
**Horizontal Scrolling**
210+
#### Java
211211

212-
```html
213-
<div class="panel-group">
214-
<div class="panel panel-default">
215-
<div class="panel-heading" id="{{ category_name }}">
216-
<i class="far fa-folder"></i>
217-
<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>
218-
</a>
219-
</div>
220-
</div>
221-
</div>
222-
```
212+
```java
213+
private void writeObject(java.io.ObjectOutputStream s)
214+
throws java.io.IOException {
215+
// Write out any hidden serialization magic
216+
s.defaultWriteObject();
223217

218+
// Write out HashMap capacity and load factor
219+
s.writeInt(map.capacity());
220+
s.writeFloat(map.loadFactor());
221+
222+
// Write out size
223+
s.writeInt(map.size());
224+
225+
// Write out all elements in the proper order.
226+
for (E e: map.keySet())
227+
s.writeObject(e);
228+
}
229+
```
224230

225231
## Reverse Footnote
226232

Diff for: _posts/2019-08-08-write-a-new-post.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags: [writing]
88

99
## Naming and Path
1010

11-
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.
11+
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`.
1212

1313
## Front Matter
1414

@@ -78,8 +78,7 @@ mermaid: true
7878
---
7979
```
8080

81-
Then you can use it like other markdown language: surround the graph code with <code class="language-plaintext highlighter-rouge">```mermaid</code>
82-
and <code class="language-plaintext highlighter-rouge">```</code>.
81+
Then you can use it like other markdown language: surround the graph code with <code class="highlighter-rouge">```mermaid</code>.
8382

8483
## Images
8584

Diff for: docs/README.zh-CN.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Language: [English](../README.md) | 简体中文
3333
- 语法高亮
3434
- 二级目录
3535
- 数学表达式
36+
- Mermaid 图表
3637
- 搜索
3738
- Atom 订阅
3839
- Disqus 评论

0 commit comments

Comments
 (0)