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

bug: README: inline latex is not listed in Extensions #150

Open
1 of 2 tasks
jmtd opened this issue May 26, 2024 · 1 comment
Open
1 of 2 tasks

bug: README: inline latex is not listed in Extensions #150

jmtd opened this issue May 26, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@jmtd
Copy link

jmtd commented May 26, 2024

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

v0.22.6 (via nvim 0.10.0)

Describe the bug

The markdown parser is described as "…CommonMark Spec, but some extensions…are also included.".

One of those extensions must be Inline latex, as pictured in the example screenshot. This isn't part of CommonMark, but is also not listed in the Extensions list.

It'd be nice to have a linked spec for the inline latex, to (easily) understand what it can and can't do. Is it from Pandoc?

Thanks!

Steps To Reproduce/Bad Parse Tree

n/a

Expected Behavior/Parse Tree

n/a

Repro

n/a

@jmtd jmtd added the bug Something isn't working label May 26, 2024
@clason
Copy link
Collaborator

clason commented May 27, 2024

I expect that is just injecting the latex parser into a latex_block node.

@clason clason added documentation Improvements or additions to documentation and removed bug Something isn't working labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants