From 60380fe684fb6db6c75ce9f4863f1047e6566649 Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 14 Apr 2022 21:39:30 +0800 Subject: remove highlight js --- exampleSite/content/docs/faq.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'exampleSite/content/docs/faq.md') 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) -- cgit v1.2.3