Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/damiencaselli/paperback.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Caselli <damien.caselli@gmail.com>2016-08-09 19:40:17 +0300
committerDamien Caselli <damien.caselli@gmail.com>2016-08-09 19:40:17 +0300
commit5343d3906455cde54a8e4c376063bb16ee4074c6 (patch)
treeec6ff30d3e35bf8262fd1679def568737fb81dd3 /README.md
parent378cc8ebcc509f19b000b2d6a1c50f251e762394 (diff)
Use Highlight.js instead of Pygments
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index f54b990..c0cfcfd 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ _Paperback_ is a minimalist theme for [Hugo](http://gohugo.io).
It focuses on improving reading experience with high contrast colors and no fancy effect.
-It also uses pygments for the syntaxic coloration of code snippets.
+It also uses [Highlight.js](https://highlightjs.org/) for the syntaxic coloration of code snippets.
## Installation
@@ -39,3 +39,8 @@ GithubUsername = "damiencaselli"
# default: undefined
TwitterUsername = "damiencaselli"
```
+
+### Code highlighting
+
+Both highlight theme and lib can be overridden. Just drop your build in the `static/js` directory, and the theme file in the `static/css` directory.
+Note that the theme has to be named `highlight.css`.