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

Add link-shortrefs extra (#597) #598

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Conversation

Crozzers
Copy link
Contributor

This PR closes #597 by adding a new extra that handles shortcut reference links.

It works by detecting the shotcut references and then inserting the missing [] at the end. If the shortcut reference is invalid (ie: there is no link definition for it) then the text will not be modified and will remain untouched in the final HTML

@nicholasserra
Copy link
Collaborator

Looks like a good solution, thanks for implementing this!

@nicholasserra nicholasserra merged commit 215f096 into trentm:master Sep 23, 2024
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.

Support for links like [this]?
2 participants