summaryrefslogtreecommitdiff
path: root/exampleSite/content/docs
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
parente71ceac1c7877c3c9b91fd6639563b3a9f8ecf53 (diff)
remove highlight js
Diffstat (limited to 'exampleSite/content/docs')
-rw-r--r--exampleSite/content/docs/faq.md12
-rw-r--r--exampleSite/content/docs/installation.md3
-rw-r--r--exampleSite/content/docs/variables.md2
3 files changed, 2 insertions, 15 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)
diff --git a/exampleSite/content/docs/installation.md b/exampleSite/content/docs/installation.md
index df8c0d7..a294c1b 100644
--- a/exampleSite/content/docs/installation.md
+++ b/exampleSite/content/docs/installation.md
@@ -169,7 +169,6 @@ params:
tocopen: false
assets:
- # disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "<link / abs url>"
favicon16x16: "<link / abs url>"
@@ -283,9 +282,7 @@ hidemeta: false
comments: false
description: "Desc Text."
canonicalURL: "https://canonical.url/to/page"
-disableHLJS: true # to disable highlightjs
disableShare: false
-disableHLJS: false
hideSummary: false
searchHidden: true
ShowReadingTime: true
diff --git a/exampleSite/content/docs/variables.md b/exampleSite/content/docs/variables.md
index 2b937da..d4c3a3d 100644
--- a/exampleSite/content/docs/variables.md
+++ b/exampleSite/content/docs/variables.md
@@ -94,7 +94,6 @@ profileMode:
| name | type | example | Description |
| ------------------------------ | ------- | ------------- | -------------------------------------------- |
| `assets.favicon` | string | 'icon.ico' | To set favicon, can be path or external link |
-| `assets.disableHLJS` | boolean | true \| false | To disable Highlight.js loading |
| `assets.disableFingerprinting` | boolean | true \| false | To disable Sub-Resource integrity for assets |
#### cover
@@ -163,7 +162,6 @@ editPost:
| `description` | string | 'description text' | Show Post Description under Title |
| `canonicalURL` | string | "https://canonical.url/to/page" | To add canonical URL to posts |
| `disableShare` | boolean | true \| false | To hide/show share icons under a page |
-| `disableHLJS` | boolean | true \| false | To disable Highlight.js loading |
| `disableAnchoredHeadings` | boolean | true \| false | To disable Anchored Headings |
| `searchHidden` | boolean | true \| false | Hide page from search |
| `hideSummary` | boolean | true \| false | To Hide summary being shown in list pages |