Skip to content
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

Fix code headings #249

Merged
merged 5 commits into from
Jul 26, 2024
Merged

Fix code headings #249

merged 5 commits into from
Jul 26, 2024

Conversation

dankimberley
Copy link
Collaborator

Fixes heading id and anchor links from displaying incorrectly when they have code blocks in the title and improves how they are displayed. Also now uses the same anchor formatting as extractTitleAndAnchor in splitMarkdown.ts from the returned search url

@alasdairwilson alasdairwilson merged commit 89e67b0 into main Jul 26, 2024
4 checks passed
@alasdairwilson alasdairwilson deleted the fix-code-headings branch July 26, 2024 11:25
@alasdairwilson
Copy link
Collaborator

great! ty dan.

alasdairwilson pushed a commit that referenced this pull request Oct 9, 2024
* account for code blocks in headings

* improve heading and copy button display

* remove old variable

* remove log

* prettier
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