diff options
| author | Alexander Dunkel <13646666+Sieboldianus@users.noreply.github.com> | 2019-08-18 16:27:31 +0200 |
|---|---|---|
| committer | Track3 <34504964+Track3@users.noreply.github.com> | 2019-08-18 22:27:31 +0800 |
| commit | 16c9d78ae518aebb65c3bca5871b2550bbabca16 (patch) | |
| tree | 6788f55696b07bb38ba9f3b82ebb2bfc1dfa737c /README.md | |
| parent | a9f2ddcfa9f9c5ba93902995162c268f860c1750 (diff) | |
| download | hermit-16c9d78ae518aebb65c3bca5871b2550bbabca16.tar.gz | |
Add code copy button to all code fields in the blog (#81)
Diffstat (limited to 'README.md')
| -rwxr-xr-x | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ Hermit is a minimal and fast theme for Hugo. It's built for bloggers who want a * Featured image is supported. It will be displayed as a dimmed background of the page. * Displays all of your posts on a single page, with one section per year, simple and compact. * Extremely lightweight and load fast. No third party framework, no unnecessary code. +* All code fields feature syntax highlighting and a code-copy function * Responsive & Retina Ready. Scales gracefully from a big screen all the way down to the smallest mobile phone. Assets in vector format ensures that it looks sharp on high-resolution screens. **[Theme Demo](https://hugo-theme-hermit.netlify.com/)** (uses contents and config from the `exampleSite` folder) @@ -111,5 +112,6 @@ You can inject any html code to every page's document head or right above the cl * [normalize.css](https://necolas.github.io/normalize.css/) - [MIT](https://github.com/necolas/normalize.css/blob/master/LICENSE.md) * [animate.css](https://daneden.github.io/animate.css/) - [MIT](https://github.com/daneden/animate.css/blob/master/LICENSE) * [feather](https://feathericons.com/) - [MIT](https://github.com/feathericons/feather/blob/master/LICENSE) +* [code-copy.js](assets/js/code-copy.js) - [Tom Spencer](https://www.fiznool.com/blog/2018/09/14/adding-click-to-copy-buttons-to-a-hugo-powered-blog/) Thanks! |
