-
Notifications
You must be signed in to change notification settings - Fork 81
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
FR: mathjax linter #1174
Comments
Hey @conneroisu . I am not sure I fully follow what is going on in the above and what Linter rules are being proposed. I am definitely open to math rules being added, I just want to make sure I understand exactly what is being proposed. The first example provided has me a bit wary because it conflicts with the rule to move math block indicators onto their own lines. However, so long as the math format in question abides by the format that remark's math parser understands, I am willing to consider the math rules. So if you could elaborate a little more on what exactly you are hoping the format for math blocks (inline or regular) would be, that would be very helpful in understanding which desired math formatting rules would be accepted and which do not fall under the remark math spec which would cause other logic to fail. |
I am not seeing the spec well from what I am seeing, but I think some of it lives on this page. But it works kind of like inline code and code blocks. So there is no ability to have text after the ending indicator for multiline math blocks. Also, if I recall it expects there to be some kind of content between two math blocks. Otherwise they are considered to be the same. So keep that in mind. I am definitely willing to help with any questions or feedback around the development process. |
If it helps, here is a previous issue around adding formatting to math blocks: #261. I meant to get to it, but other priorities came up. |
Is Your Feature Request Related to a Problem? Please Describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when my mathjax get's messy in my notes.
Describe the Solution You'd Like
A clear and concise description of what you want to happen.
Please include an example where applicable:
Ex 1:
Becomes
Ex 2:
Becomes
Describe Alternatives You've Considered
A clear and concise description of any alternative solutions or features you've considered.
similar solutionto https://github.com/conneroisu/mathjax-linter
Additional Context
Add any other context or screenshots about the feature request here.
I would be willing to create a pr if this feature is determined to be in scope.
The text was updated successfully, but these errors were encountered: