Version 5.17
See the changelog of this version for a detailed list of changes.-
0.126.0 Minimum required Hugo version
-
Breaking Change requiring action after upgrade
-
Change Change of behavior, may require action
-
New New behavior, often introducing new options
5.17.0 (2023-06-22)
Change
-
Change The default behavior for the copy-to-clipboard feature for code blocks has changed.
The copy-to-clipboard button for code blocks will now only be displayed if the reader hovers the code block.
If you dislike this new behavior you can turn it off and revert to the old behavior by adding
[params] disableHoverBlockCopyToClipBoard=true
to yourhugo.toml
.
New
-
New Restored compatibility with Hugo 0.114.0 or higher. This does not change the minimum required Hugo version.
-
New The new
highlight
shortcode replaces Hugo’s default implementation and is fully compatible. So you don’t need to change anything.In addition it offers some extensions. Currently only the
wrap
extension option is provided to control whether a code block should be wrapped or scrolled if to long to fit.