mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-29 05:55:22 -04:00
update FAQ for Using Hugo's Syntax highlighter "chroma"
This commit is contained in:
parent
5265710f2d
commit
49f2c2632b
1 changed files with 23 additions and 21 deletions
|
@ -294,6 +294,8 @@ markup:
|
|||
```
|
||||
|
||||
3. 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)
|
||||
|
||||
Add the following to `assets/css/extended/custom.css`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue