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

Capture link reference labels #938

Open
chrisjsewell opened this issue Jun 7, 2023 · 1 comment
Open

Capture link reference labels #938

chrisjsewell opened this issue Jun 7, 2023 · 1 comment

Comments

@chrisjsewell
Copy link
Contributor

In order to implement https://github.com/executablebooks/mdformat, which is essentially a round-trip renderer for markdown-it-py, we found that we needed to implement the storage of the original labels on the link_open/image tokens: executablebooks/markdown-it-py@d9b6de9

It would be nice to upstream this in some manner

@rlidwka
Copy link
Member

rlidwka commented Nov 19, 2023

It would be nice to upstream this in some manner

I agree. Can you send a pull request?

PS: store_labels is probably not necessary, instead can just always store it

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

No branches or pull requests

2 participants