Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes release notes 0.60 #6490

Closed
bep opened this issue Nov 10, 2019 · 1 comment
Closed

Notes release notes 0.60 #6490

bep opened this issue Nov 10, 2019 · 1 comment
Labels
Milestone

Comments

@bep
Copy link
Member

bep commented Nov 10, 2019

Highlights

  • Goldmark as the new default library used for Markdown: It's CommonMark compliant and GitHub flavored, fast and flexible.
  • With the above also comes attribute syntax on headers and code blocks. For code blocks you can turn on/off line numbers and highlight line ranges.
  • Improved and configurable implementation of TableOfContents.
  • ...
  • If you want to test this, a good start would be to build from source and run hugo server -s docs in this repo and navigate to http://localhost:1313/content-management/formats/#list-of-content-formats

Notes

  • Permalink config an dates: Support Go time format strings in permalinks #6489
  • No pygments no more Remove Pygments #4491
  • Config option for code highlighting of code fences in Markdown is now default on. This is what most people wants.
  • https://spec.commonmark.org/0.29/#emphasis-and-strong-emphasis
  • Goldmark diffs: angled quotes, another-header-99 vs now another-header99 (auto)
  • highlight shortcode/template func and the code fence attributes now share the same API, e.g: linenos=table,hl_lines=2 4-5,linenostart=3 (TODO fix attr syntax) where linenos can be one of table, inline, true, false.
  • The Total in ... for the hugo command now includes the configuration and modules loading, which should make it more honest/accurate.
  • The image logic in the 3 SEO internal templates twitter_cards.html, opengraph.html, and schema.html is consolidated: images page param first, then bundled image matching *feature*, *cover* or *thumbnail*, then finally images site param.
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant