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(plugins/links): mark link_open as reflink #325

Open
moki opened this issue Oct 20, 2023 · 0 comments
Open

fix(plugins/links): mark link_open as reflink #325

moki opened this issue Oct 20, 2023 · 0 comments

Comments

@moki
Copy link
Member

moki commented Oct 20, 2023

plugins/links

We have reflink syntax, this markup [{#T}](file.md) extracts title from file.md and uses it as link text.

We need to mark link_open token with markup: reflink(analogous to how autolinks are parsed).

Right now i am doing it inside @diplodoc-platform/markdown-translation library when rendering tokens into XML.

Objectively links of reflink type should just be marked as such by parser.

to easier understand the token structure checkout tokens tab: link to the playground

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant