Skip to content

chore(deps-dev): bump hexo-renderer-marked from 3.0.0 to 3.3.0 #247

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

Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps hexo-renderer-marked from 3.0.0 to 3.3.0.

Release notes

Sourced from hexo-renderer-marked's releases.

3.3.0

Feature

  • feat: anchorAlias option to set custom header id #172
    • once enabled, for example in ## [foo](https://github.com/hexojs/hexo-renderer-marked/blob/HEAD/#bar), id will be set as "bar".

Fix

  • fix(postAsset): support post in a subfolder #173
    • a post could be in a subfolder like source/_posts/example/lorem/

3.2.0

Features

  • feat: mangle option #164
    • a built-in option of marked
    • only useful against a basic crawler used by spam bot.
  • feat: disableNunjucks option #166
    • enable this option to disable processing of Nunjucks tag {{ }} {% %}, particularly useful if you're not going to use tag plugins.
  • feat: extend filter to tokenizer #165
  • feat: 'quotes' option to override smartypants #161
    • it's now possible to specify the quote symbols to replace.
    • e.g. quotes: '«»“”'

Fixes

  • fix: handle invalid URL #163
    • invalid URL like http://localhost:4000lorem is no longer encoded.
  • fix: autolink option should not apply on markdown syntax #162
    • autolink: no longer affects <http://example.com>.
    • on another note, marked renderer doesn't detect example.com, if a link doesn't starts with protocol (e.g. http://), a link must starts with www to be detected (for autolink).

3.1.0

Features

  • feat: postAsset to prepend post's relative path #159

    • With this feature, asset_img tag plugin is no longer required.
    • Only applies to post_asset_folder
    • An example is "image.jpg" is located at "/2020/01/02/foo/image.jpg", which is a post asset of "/2020/01/02/foo/".
      • ![](https://github.com/hexojs/hexo-renderer-marked/blob/HEAD/image.jpg) becomes <img src="/2020/01/02/foo/image.jpg">
    • To enable:
    # _config.yml
    post_asset_folder: true
    marked:
      prependRoot: true
      postAsset: true
  • feat: lazyload #156

    • Load image only when it's coming into view. Explainer
    • loading="lazy" will be injected to every image embed <img>.
Commits
  • cf5a047 Merge pull request #174 from curbengh/v3.3.0
  • 1f4ac47 release: 3.3.0
  • ce56be9 docs: replace david-dm with shields.io badge
  • 2ae8cfb feat(postAsset): disable by default
  • 3aac49e Merge pull request #172 from curbengh/custom-anchor
  • a32e36a feat: anchorAlias option to set custom header id
  • 9058e8b Merge pull request #173 from curbengh/postasset-subfolder
  • d5c2ed1 fix(postAsset): post may be in a subfolder
  • 731e68d Merge pull request #171 from curbengh/test-sync
  • 34dd40a test(disableNunjucks): register renderer synchronously
  • 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 28, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 83.27% when pulling 4e6eb97 on dependabot/npm_and_yarn/hexo-renderer-marked-3.3.0 into 310867b on master.

@stevenjoezhang stevenjoezhang merged commit 4da04fb into master Sep 29, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/hexo-renderer-marked-3.3.0 branch September 29, 2020 12:36
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.

3 participants