summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoramzrk22020-05-30 12:54:18 +0800
committeramzrk22020-05-30 12:54:18 +0800
commitf14d5fa8f78a5756866002591aa479f8ccf5b582 (patch)
tree0d3c7f625146285115b127dd604c73ab0408760b /README.md
parentcf395763b26103b1b147bc40d8a3126e92996b97 (diff)
downloadhugo-theme-fuji-f14d5fa8f78a5756866002591aa479f8ccf5b582.tar.gz
hugo-theme-fuji-f14d5fa8f78a5756866002591aa479f8ccf5b582.tar.bz2
hugo-theme-fuji-f14d5fa8f78a5756866002591aa479f8ccf5b582.zip
Custom highlight.js support
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3345517..e67c1ba 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ Fuji is a minimal Hugo theme with full dark mode support and GitHub Primer markd
![RELEASE](https://img.shields.io/github/v/release/amzrk2/hugo-theme-fuji?style=flat-square) ![BUILD STATUS](https://img.shields.io/github/workflow/status/amzrk2/hugo-theme-fuji/Build%20Test?style=flat-square) ![REPO SIZE](https://img.shields.io/github/repo-size/amzrk2/hugo-theme-fuji?style=flat-square) ![LICENSE](https://img.shields.io/github/license/amzrk2/hugo-theme-fuji?style=flat-square)
-[English](https://github.com/amzrk2/hugo-theme-fuji/blob/master/README.md) | [真正的白话文](https://github.com/amzrk2/hugo-theme-fuji/blob/master/README_CN.md)
+[English](https://github.com/amzrk2/hugo-theme-fuji#readme) | [白话文](https://github.com/amzrk2/hugo-theme-fuji/blob/master/README_CN.md)
## Table of contents
@@ -153,7 +153,13 @@ $mono-font: 'Cascadia Code', 'SF Mono', 'Fira Code', 'Consolas', $body-font;
$body-font-size: 16px;
```
-## Disqus identifier
+### Custom highlight.js language support
+
+Set `customHighlight` to `true` in `config.toml`, then set `customHighlightURL` to the path of your own `highlight.js`.
+
+Check [Getting highlight.js](https://highlightjs.org/download/) to download you own bundle of highlight.js.
+
+### Disqus identifier
Use the `[SITEROOT]/layouts/partials/comment-disqus.html` to cover `themes/fuji/layouts/partials/comment-disqus.html`.