mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 10:04:04 +00:00
@@ -67,7 +67,7 @@ summary: "The summary content"
|
|||||||
|
|
||||||
### Approach 2: use `<!--more-->`
|
### Approach 2: use `<!--more-->`
|
||||||
|
|
||||||
Use `<!--more-->` to seperate content that will display in the posts page as abstraction and the rest of the content. This is different from summary, as summary will not appear in the post.
|
Use `<!--more-->` to separate content that will display in the posts page as abstraction and the rest of the content. This is different from summary, as summary will not appear in the post.
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
title: "title"
|
title: "title"
|
||||||
@@ -111,7 +111,7 @@ enableGitalk = true
|
|||||||
distractionFreeMode = false
|
distractionFreeMode = false
|
||||||
```
|
```
|
||||||
|
|
||||||
## Support LaTex
|
## Support LaTeX
|
||||||
|
|
||||||
In you post add `math: true` to [front matter](https://gohugo.io/content-management/front-matter/)
|
In you post add `math: true` to [front matter](https://gohugo.io/content-management/front-matter/)
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ katex: math
|
|||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
Then the [katex script](https://katex.org/docs/autorender.html) will auto render the string enclosed be delimiters.
|
Then the [katex script](https://katex.org/docs/autorender.html) will auto render the string enclosed by delimiters.
|
||||||
|
|
||||||
```
|
```
|
||||||
# replace ... with latex formula
|
# replace ... with latex formula
|
||||||
|
Reference in New Issue
Block a user