We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Default markdown syntax not working with grip:
[LinkName](#Header1) ... ## Header1
Real example you can find in prelude repo (table of contents section).
The text was updated successfully, but these errors were encountered:
You're right! There's code that specifically handles this case. Looks like GitHub now uses HTML id instead of name to mark their README anchors.
id
name
Should be an easy fix in /grip/templates/index.html
/grip/templates/index.html
function scrollToHash() { if (location.hash && !document.querySelector(":target")) { var element = document.getElementById('user-content-' + location.hash.slice(1)); if (element) { element.scrollIntoView(); } } }
If you need this immediately, feel free to patch your local install. I'll deploy a new version with this fix as soon as I have some time.
Thanks for opening the issue!
Sorry, something went wrong.
Thanks for quick response. Sure, i can use patch locally and wait fix.
0ce3033
Just released a new version with a fix to this. Be sure to pip install --upgrade grip.
pip install --upgrade grip
Thanks!
No branches or pull requests
Default markdown syntax not working with grip:
Real example you can find in prelude repo (table of contents section).
The text was updated successfully, but these errors were encountered: