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

Locations for Markdown #5174

Open
nijel opened this issue Jan 23, 2024 · 1 comment
Open

Locations for Markdown #5174

nijel opened this issue Jan 23, 2024 · 1 comment
Labels

Comments

@nijel
Copy link
Member

nijel commented Jan 23, 2024

Since #5173 mistetoe exposes line numbers, so this should be used as location in md2po.

@anderskaplan Maybe you have prepared for this already?

PS: Without miyuchina/mistletoe#206 there is no way to get reasonable location for span tokens.

@nijel nijel added the formats label Jan 23, 2024
@anderskaplan
Copy link
Contributor

I have not, but I believe it should be quite straightforward. The html2po tool does almost exactly the same thing.

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

No branches or pull requests

2 participants