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

shortcut links implementation #33

Merged
merged 1 commit into from
Nov 25, 2021
Merged

Conversation

aogier
Copy link
Contributor

@aogier aogier commented Nov 24, 2021

Hi! This PR implement an unopinionated management for Linktype::Shortcuts type links as identified by pulldown-cmark. Resulting output preserve the author's choice of putting a link in a file footer rather than inlining it.

I'm not totally convinced about clone()ing/reallocating stuff in required support data structures but being a rust newbie I'm currently unable to provide a better solution, given that there is any.

Hope this helps, thank you

see #32

@aogier aogier force-pushed the feature/32-shortcut-links branch from c7bc27c to 25cc3d1 Compare November 24, 2021 12:30
@Byron Byron merged commit 81b1eb4 into Byron:main Nov 25, 2021
@Byron
Copy link
Owner

Byron commented Nov 25, 2021

And it's available on crates.io

@aogier aogier deleted the feature/32-shortcut-links branch November 25, 2021 09:45
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