summaryrefslogtreecommitdiff
path: root/exampleSite/content/docs/faq.md
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-14 21:39:30 +0800
committerReorx <novoreorx@gmail.com>2022-04-14 21:39:30 +0800
commit60380fe684fb6db6c75ce9f4863f1047e6566649 (patch)
treefa1fbef9f2b1489f31fb3f9ea5ba7e72988fe2dd /exampleSite/content/docs/faq.md
parente71ceac1c7877c3c9b91fd6639563b3a9f8ecf53 (diff)
remove highlight js
Diffstat (limited to 'exampleSite/content/docs/faq.md')
-rw-r--r--exampleSite/content/docs/faq.md12
1 files changed, 2 insertions, 10 deletions
diff --git a/exampleSite/content/docs/faq.md b/exampleSite/content/docs/faq.md
index c9902ab..0a2f879 100644
--- a/exampleSite/content/docs/faq.md
+++ b/exampleSite/content/docs/faq.md
@@ -250,15 +250,7 @@ ex.
## Using Hugo's Syntax highlighter "chroma"
-1. Disable Highlight.js in site `config.yml`
-
- ```yml
- params:
- assets:
- disableHLJS: true
- ```
-
-2. Set hugo's markdown styling in site `config.yml`
+1. Set hugo's markdown styling in site `config.yml`
```yml
markup:
@@ -271,7 +263,7 @@ ex.
style: monokai
```
-3. If you want `lineNos: true`, the background won't be proper.
+2. If you want `lineNos: true`, the background won't be proper.
This will only work with `noClasses: false` or `pygmentsUseClasses: true`.
Read [Generate Syntax Highlighter CSS](https://gohugo.io/content-management/syntax-highlighting/#generate-syntax-highlighter-css)