You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2019-08-08-write-a-new-post.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ mermaid: true
78
78
---
79
79
```
80
80
81
-
Then you can use it like other markdown language: surround the graph code with <code class="highlighter-rouge">```mermaid</code>.
81
+
Then you can use it like other markdown language: surround the graph code with ```` ```mermaid ```` and ```` ``` ````.
82
82
83
83
## Images
84
84
@@ -147,15 +147,15 @@ pin: true
147
147
148
148
## Code Block
149
149
150
-
Markdown symbols <code class="highlighter-rouge">```</code> can easily create a code block as following examples.
150
+
Markdown symbols ```` ``` ```` can easily create a code block as following examples.
151
151
152
152
```
153
153
This is a common code snippet, without syntax highlight and line number.
154
154
```
155
155
156
156
## Specific Language
157
157
158
-
Using <code class="highlighter-rouge">```language</code> you will get code snippets with line numbers and syntax highlight.
158
+
Using ```` ```language ```` you will get code snippets with line numbers and syntax highlight.
159
159
160
160
> **Note**: The Jekyll style `{% raw %}{%{% endraw %} highlight LANGUAGE {% raw %}%}{% endraw %}` or `{% raw %}{%{% endraw %} highlight LANGUAGE linenos {% raw %}%}{% endraw %}` are not allowed to be used in this theme !
0 commit comments