Skip to content

1.7.0

Compare
Choose a tag to compare
@curbengh curbengh released this 10 Dec 11:53
· 177 commits to master since this release
0d2b0e8

Features

  • deepMerge() utility (#141)
    • Based on deepmerge library
    • target object is not modified, which is different to Object.assign() and lodash.merge
  • prettyUrls() utility (#152)
    • This is used to remove trailing .html or index.html from a url string
    • Typically used for SEO, particularly to create canonical url

Fixes

  • wrap: option is no longer disabled when hljs: is enabled in code highlight highlight() utility (#138)
    • Since wrap: is enabled by default, if you prefer previous behavior of hljs:, you need to specifically disable wrap:,
    _config.yml
    highlight:
      wrap: false
      hljs: true
  • url_for() & full_url_for() should ignore absolute url (i.e. links that start with "http" or double slash "//") (#147)
  • Selecting a codeblock should not include line number (#153)
    • This reverts breaking change introduced in #132