Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps hexo-renderer-marked from 2.0.0 to 3.1.0.

Release notes

Sourced from hexo-renderer-marked's releases.

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>.
    • Only takes effect on supported browsers.
    • To enable:
    marked:
      lazyload: true

Dependency

  • chore(deps-dev): bump hexo from 4.2.1 to 5.0.0 #158

3.0.0

Breaking change

  • Remove codeblock highlight. #134
    • This plugin is now neutral to the code highlight library used
  • Drop support of Node 8 #155

Feature

  • prependRoot option to prepend root: value to image path. #111
    • This is useful when you have custom root: value.
    • Example:
    root: /blog/
    marked:
      prependRoot: true # disabled by default
    • When embedding an internal image, instead of using ![image-title](https://github.com/hexojs/hexo-renderer-marked/blob/HEAD/blog/foo/bar.jpg), you can save some typing by using ![image-title](https://github.com/hexojs/hexo-renderer-marked/blob/HEAD/foo/bar.jpg) instead. When this feature is enabled, /blog will be automatically prepended to /foo/bar.jpg.
  • external_link option to open links in new tab. #116 #119
    • Usage:
Commits
  • 29b49aa Merge pull request #160 from curbengh/v3.1.0
  • b2fd25a release: 3.1.0
  • 8e1104c Merge pull request #159 from curbengh/post-asset
  • 189360a docs(postAsset): typo
  • 5f841b7 perf(postAsset): utilise PostAsset.findById()
  • fc9ef72 docs(postAsset): warn about performance
  • 64196bb perf(postAsset): skip non-post-asset paths
  • e2e345c refactor: pass 'hexo' object via constructor
  • 14cc3ed fix(image): remove unnecessary hostname check
  • 539a07b test(postAsset): Windows path and absolute url
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by curben, a new releaser for hexo-renderer-marked since your current version.


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-renderer-marked](https://github.com/hexojs/hexo-renderer-marked) from 2.0.0 to 3.1.0.
- [Release notes](https://github.com/hexojs/hexo-renderer-marked/releases)
- [Commits](hexojs/hexo-renderer-marked@2.0.0...3.1.0)

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 21, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #36.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/hexo-renderer-marked-3.1.0 branch September 7, 2020 15:43
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