Skip to content

Bump hexo-markmap from 1.2.5 to 2.0.0 #99

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 26, 2025

Bumps hexo-markmap from 1.2.5 to 2.0.0.

Release notes

Sourced from hexo-markmap's releases.

v2.0.0

简体中文

hexo-markmap@2 is a completely refactored version by @​coderxi1 and @​maxchang3. This version upgrades to the latest Markmap and introduces more customization options, including:

  • Customization within a single Markmap tag using frontmatter:
    • CSS styles (custom height, width, responsive layout, etc.)
    • Markmap's JSON Options
      {% markmap %}
      ---
      style: |
        #${id} {
          height: 300px; /* Equivalent to {% markmap 300px %} */
        }
      options:
        colorFreezeLevel: 2
      ---
      # Markdown
      # Syntax
      {% endmarkmap %}
  • Automatic CDN URL generation using Markmap’s built-in URL Builder
  • Automatic generation of corresponding CDN tags based on syntax
  • Support for dark mode and fullscreen button
  • Refactored in TypeScript with test coverage

Note that some implementation details differ from hexo-markmap@1. If you do not require these new features, you may continue using hexo-markmap@1.

To upgrade to hexo-markmap@2, follow these steps:

  1. Install hexo-markmap@2 using your preferred package manager:

    pnpm add hexo-markmap@2 -D
    npm install hexo-markmap@2 --save-dev
    yarn add hexo-markmap@2 -D
  2. Modify your config.yml as needed:

    • The following configuration options are no longer supported:
      hexo_markmap:
      -  pjax: false
      -  katex: false

... (truncated)

Commits
  • fdac946 chore: release v2.0.0
  • 931ffbc docs: update
  • 4dd78ff docs: update
  • deeaec9 chore: bump deps
  • cf5625a chore: release v2.0.0-beta.3
  • 1a3c79a docs: add upgrade instructions for hexo-markmap v2
  • 33822f0 docs: update
  • 5d328b9 workflow: add CI workflow and update npm publish workflow for testing
  • cd94a60 feat: enhance deprecated configuration warnings
  • 59cfd59 docs: update README to include custom CDN configuration options
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [hexo-markmap](https://github.com/MaxChang3/hexo-markmap) from 1.2.5 to 2.0.0.
- [Release notes](https://github.com/MaxChang3/hexo-markmap/releases)
- [Commits](markmap-universe/hexo-markmap@v1.2.5...v2.0.0)

---
updated-dependencies:
- dependency-name: hexo-markmap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 26, 2025
Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mryan2005-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 8:50am

Copy link

cloudflare-workers-and-pages bot commented Mar 26, 2025

Deploying mryan2005-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: 06eb626
Status: ✅  Deploy successful!
Preview URL: https://eaf6b0bb.mryan2005-github-io.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-hexo-wqrn.mryan2005-github-io.pages.dev

View logs

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 28, 2025

Superseded by #100.

@dependabot dependabot bot closed this Mar 28, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/hexo-markmap-2.0.0 branch March 28, 2025 08:11
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 javascript Pull requests that update javascript code size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants