Skip to content

docs: fix two broken heading anchors - #1330

Merged
antfu merged 1 commit into
shikijs:mainfrom
SatvikMishra08:docs/fix-broken-anchors
Nov 2, 2026
Merged

antfu merged 1 commit into
shikijs:mainfrom
SatvikMishra08:docs/fix-broken-anchors

Conversation

@SatvikMishra08

Copy link
Copy Markdown
Contributor
  • <- Keep this line and put an x between the brackts.

Description

Two links in the docs point at heading ids that don't exist, so they open the top of the page instead of the right section:

  • blog/v2.md: /guide/regex-engines#javascript-engine → #javascript-regexp-engine (the heading is "JavaScript RegExp Engine").
  • guide/index.md: the "hast support" feature links to /guide/transformers#codetohast, but the transformers page has no such section. codeToHast is introduced under Shorthands in the install guide, so it now points to /guide/install#shorthands.

I checked both targets against the ids on the live site (shiki.style).

Linked Issues

None, found while checking links on shiki.style.

Additional context

Docs-only, two lines.

@netlify

netlify Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit 66f4130
🔍 Latest deploy log https://app.netlify.com/projects/shiki-matsu/deploys/6aca8d07104cd90008e92ad2
😎 Deploy Preview https://deploy-preview-1330--shiki-matsu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for shiki-next ready!

Name Link
🔨 Latest commit 66f4130
🔍 Latest deploy log https://app.netlify.com/projects/shiki-next/deploys/6aca8d072a09190008ff3ccb
😎 Deploy Preview https://deploy-preview-1330--shiki-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Oct 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.88%. Comparing base (f7d0167) to head (66f4130).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1330   +/-   ##
=======================================
  Coverage   89.88%   89.88%           
=======================================
  Files          81       81           
  Lines        3598     3598           
  Branches     1029     1031    +2     
=======================================
  Hits         3234     3234           
  Misses        327      327           
  Partials       37       37           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@antfu
antfu merged commit 1ef9ef5 into shikijs:main Nov 2, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants