Update 0.28 release notes

This commit is contained in:
Bjørn Erik Pedersen committed 2017-09-25 10:18:07 +02:00
1 parent 886713a14d
commit 275ce2b4d8
2 files changed
+9 -2

No files matched your search

+9 -2
View File
@@ -1,13 +1,20 @@
--- ---
date: 2017-09-25 date: 2017-09-25
title: "0.28" title: "Hugo 0.28: High-speed Syntax Highlighting!"
description: "0.28" description: "Chroma is the new default syntax highlighter in Hugo."
categories: ["Releases"] categories: ["Releases"]
slug: "0.28-relnotes"
images:
- images/blog/hugo-28-poster.png
--- ---
Hugo `0.28` brings **blistering fast and native syntax highlighting** from [Chroma](https://github.com/alecthomas/chroma) ([fb33d828](https://github.com/gohugoio/hugo/commit/fb33d8286d78a78a74deb44355b621852a1c4033) [@bep](https://github.com/bep) [#3888](https://github.com/gohugoio/hugo/issues/3888)). A big thank you to [Alec Thomas](https://github.com/alecthomas) for taking on this massive task of porting the popular python highlighter Pygments to Go. Hugo `0.28` brings **blistering fast and native syntax highlighting** from [Chroma](https://github.com/alecthomas/chroma) ([fb33d828](https://github.com/gohugoio/hugo/commit/fb33d8286d78a78a74deb44355b621852a1c4033) [@bep](https://github.com/bep) [#3888](https://github.com/gohugoio/hugo/issues/3888)). A big thank you to [Alec Thomas](https://github.com/alecthomas) for taking on this massive task of porting the popular python highlighter Pygments to Go.
Hugo has been caching the highlighter output to disk, so for repeated builds it has been fine, but this little snippet, showing a build of the [gohugo.io](https://gohugo.io/) site without cache and with both Pygments and Chroma, should illustrate the improvement:
{{< asciicast Lc5iwTVny2kuUC8lqvNnL6oDU >}}
Worth mentioning is also the `liveReloadPort` flag on `hugo server`, which makes it possible to do "live reloads" behind a HTTPS proxy, which makes for very cool remote customer demos. Worth mentioning is also the `liveReloadPort` flag on `hugo server`, which makes it possible to do "live reloads" behind a HTTPS proxy, which makes for very cool remote customer demos.
One example would be a Hugo server running behind a [ngrok](https://http://ngrok.com) tunnel: One example would be a Hugo server running behind a [ngrok](https://http://ngrok.com) tunnel:
Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB