Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps hexo from 4.2.1 to 5.1.1.

Release notes

Sourced from hexo's releases.

5.1.1

Changes

  • fix(filter/highlight): avoid escaping curly bracket when highlight & prismjs disabled @curbengh #4489
    • When both highlight.js and prismjs are disabled:
    # _config.yml
    highlight:
      enable: false
    prismjs
    enable: false

    • there was an issue that curly brackets { } are escaped &[#123](https://github.com/hexojs/hexo/issues/123); &[#125](https://github.com/hexojs/hexo/issues/125); mistakenly in the backtick_code_block.js filter. The fix is to avoid running that filter when code highlight is disabled.
    • Some users disable Hexo's default code highlight as they prefer to their own method.

5.1.0

Features

  • feat(highlight): parse 'caption' option to prismHighlight @curbengh #4476
    • caption is now available in prismjs:
    # _config.yml
    highlight:
      enable: false
    prismjs:
      enable: true
    • It can be used in triple backtick codeblock:
    • above codeblock will be rendered as: (class attributes are omitted for brevity)
    <pre><div class="caption"><span>caption</span></div><code>console...</code></pre>
    • you can style the caption by:
    pre div.caption {
      font-size: 0.9em;
      color: [#888](https://github.com/hexojs/hexo/issues/888);
    }
    pre div.caption a {
    float: right;
    }

Commits
  • 6635f2c Merge pull request #4490 from curbengh/v5.1.1
  • efa432b release: 5.1.1
  • 5795c12 fix(filter/highlight): avoid escaping curly bracket when highlight & prismjs ...
  • ebc9008 Merge pull request #4487 from curbengh/v5.1.0
  • a7d6d8f Merge pull request #4476 from curbengh/prism-caption
  • 5419886 release: 5.1.0
  • ae97b97 refactor(highlight): separate highlightjs & prismjs with describe()
  • de9f413 test(highlight): parse 'caption' option to prismHighlight
  • 05fcde5 chore(deps): bump hexo-util from 2.2.0 to 2.4.0
  • b1da39b feat(highlight): parse 'caption' option to prismHighlight
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [hexo](https://github.com/hexojs/hexo) from 4.2.1 to 5.1.1.
- [Release notes](https://github.com/hexojs/hexo/releases)
- [Commits](hexojs/hexo@4.2.1...5.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Aug 24, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #38.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/hexo-5.1.1 branch September 21, 2020 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants