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

feature: avoid conflict with Pandoc markdown's subscript #183

Open
1 task done
Dupond opened this issue Feb 2, 2025 · 0 comments
Open
1 task done

feature: avoid conflict with Pandoc markdown's subscript #183

Dupond opened this issue Feb 2, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Dupond
Copy link

Dupond commented Feb 2, 2025

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

Hello!

In Pandoc's markdown "subscripts may be written by surrounding the subscripted text by ~ characters".

This parser implements Github's markdown; as a result, what is subscripted text in Pandoc appears as a strikethrough, which is quite confusing (for me ;)).

Describe the solution you'd like

Would there be any possibility for me (who's unfortunately not able to program it by myself) to avoid this behavior? For example, would it be possible to reserve the use of a single ~ sign for subscripts, and two ~ signs for a strikethrough?

Describe alternatives you've considered

As an alternative, would someone know of a parser for pandoc's markdown that would support highlighting?

Thank you very much for any help!

Additional context

No response

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

No branches or pull requests

1 participant