1.6 KiB
+++ disableToc = false hidden = true title = "Version 5.4" type = "releasenotes" weight = -4 +++
5.4.0 (2022-11-01)
Change
-
{{% badge style="note" title=" " %}}Change{{% /badge %}} With the proper settings in your
hugo.toml
your page is now servable from the local file system usingfile://
URLs.Please note that the searchbox will only work for this if you reconfigure your outputformat for the homepage in your
hugo.toml
fromjson
tosearch
. The now deprecatedjson
outputformat still works as before, so there is no need to reconfigure your installation if it is only served fromhttp://
orhttps://
. -
{{% badge style="note" title=" " %}}Change{{% /badge %}} The
button
shortcode has a new parametertarget
to set the destination frame/window for the URL to open. If not given, it defaults to a new window/tab for external URLs or is not set at all for internal URLs. Previously even internal URLs where opened in a new window/tab.
New
-
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The
math
shortcode andmermaid
shortcode now also support thealign
parameter if Markdown codefences are used. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Support for languages that are written right to left (like Arabic). This is only implemented for the content area but not the navigation sidebar. This feature is not available in Internet Explorer 11.
-
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation into Finnish (Suomi).