diff options
author | Damien Caselli <damien.caselli@gmail.com> | 2016-08-09 19:40:17 +0300 |
---|---|---|
committer | Damien Caselli <damien.caselli@gmail.com> | 2016-08-09 19:40:17 +0300 |
commit | 5343d3906455cde54a8e4c376063bb16ee4074c6 (patch) | |
tree | ec6ff30d3e35bf8262fd1679def568737fb81dd3 /README.md | |
parent | 378cc8ebcc509f19b000b2d6a1c50f251e762394 (diff) |
Use Highlight.js instead of Pygments
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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`. |