mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Merge commit '2e711a28c71e8667258e5ab824f9b9a71c261b0a'
This commit is contained in:
@@ -1,15 +1,24 @@
|
||||
|
||||
---
|
||||
date: 2019-11-27
|
||||
title: "0.60.0"
|
||||
description: "0.60.0"
|
||||
title: "Now CommonMark Compliant!"
|
||||
description: "Goldmark -- CommonMark compliant, GitHub flavored, fast and flexible -- is the new default library for Markdown in Hugo."
|
||||
categories: ["Releases"]
|
||||
---
|
||||
|
||||
[Goldmark](https://github.com/yuin/goldmark/) by [@yuin](https://github.com/yuin) is now the new default library used for Markdown in Hugo. It's CommonMark compliant and GitHub flavored, and both fast and flexible. Blackfriday, the old default, has served us well, but there have been formatting and portability issues that were hard to work around. The "CommonMark compliant" part is the main selling feature of Goldmark, but with that you also get attribute syntax on headers and code blocks (for code blocks you can turn on/off line numbers and highlight line ranges), strikethrough support and an improved and configurable implementation of `TableOfContents`. See [Markup Configuration](https://gohugo.io/getting-started/configuration-markup/) for an overview of extensions.
|
||||
[Goldmark](https://github.com/yuin/goldmark/) by [@yuin](https://github.com/yuin) is now the new default library used for Markdown in Hugo. It's CommonMark compliant and GitHub flavored, and both fast and flexible. Blackfriday, the old default, has served us well, but there have been formatting and portability issues that were hard to work around. The "CommonMark compliant" part is the main selling feature of Goldmark, but with that you also get attribute syntax on headers and code blocks (for code blocks you can turn on/off line numbers and highlight line ranges), strikethrough support and an improved and configurable implementation of `TableOfContents`. See [Markup Configuration](https://gohugo.io/getting-started/configuration-markup/) for an overview of extensions.
|
||||
|
||||
Please read the [Notes Section](#notes) and the updated documentation. We suggest you start with [List of content formats in Hugo](https://gohugo.io/content-management/formats/#list-of-content-formats). Goldmark is better, but the feature set is not fully comparable and it may be more stricter in some areas (there are 17 rules for how a [headline](https://spec.commonmark.org/0.29/#emphasis-and-strong-emphasis) should look like); if you have any problems you cannot work around, see [Configure Markup](https://gohugo.io/getting-started/configuration-markup/#configure-markup) for a way to change the default Markdown handler.
|
||||
|
||||
Also, if you have lots of inline HTML in your Markdown files, you may have to enable the `unsafe` mode:
|
||||
|
||||
{{< code-toggle file="config" >}}
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
||||
{{< /code-toggle >}}
|
||||
|
||||
This release represents **62 contributions by 10 contributors** to the main Hugo code base. [@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@anthonyfok](https://github.com/anthonyfok), [@max-arnold](https://github.com/max-arnold), and [@trimbo](https://github.com/trimbo) for their ongoing contributions.
|
||||
And a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) and [@onedrawingperday](https://github.com/onedrawingperday) for their relentless work on keeping the themes site in pristine condition and to [@kaushalmodi](https://github.com/kaushalmodi) and [@davidsneighbour](https://github.com/davidsneighbour) for great work on the documentation site.
|
||||
|
||||
|
BIN
docs/content/en/news/0.60.0-relnotes/poster-featured.png
Normal file
BIN
docs/content/en/news/0.60.0-relnotes/poster-featured.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
docs/content/en/news/0.60.1-relnotes/featured-061.png
Normal file
BIN
docs/content/en/news/0.60.1-relnotes/featured-061.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
@@ -4,9 +4,6 @@ date: 2019-11-29
|
||||
title: "Hugo 0.60.1: A couple of Bug Fixes"
|
||||
description: "This version fixes a couple of bugs introduced in 0.60.0."
|
||||
categories: ["Releases"]
|
||||
images:
|
||||
- images/blog/hugo-bug-poster.png
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
BIN
docs/content/en/news/0.61.0-relnotes/hugo-61-featured.png
Normal file
BIN
docs/content/en/news/0.61.0-relnotes/hugo-61-featured.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
@@ -1,12 +1,12 @@
|
||||
|
||||
---
|
||||
date: 2019-12-11
|
||||
title: "0.61.0"
|
||||
description: "0.61.0"
|
||||
title: "40K GitHub Stars Edition"
|
||||
description: "40K stars on GitHub is a good enough reason to release a new version of Hugo!"
|
||||
categories: ["Releases"]
|
||||
---
|
||||
|
||||
This is the [40K GitHub Stars Edition](https://github.com/gohugoio/hugo/stargazers). It's mostly a bug fix release, and an important note is the deprecation of Amber and Ace as template engines. See [#6609](https://github.com/gohugoio/hugo/issues/6609) for more information.
|
||||
This is the [40K GitHub Stars Edition](https://github.com/gohugoio/hugo/stargazers). It's mostly a bug fix release, and an important note is the deprecation of Amber and Ace as template engines. See [#6609](https://github.com/gohugoio/hugo/issues/6609) for more information.
|
||||
|
||||
This release represents **10 contributions by 3 contributors** to the main Hugo code base.
|
||||
|
||||
|
Reference in New Issue
Block a user