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

Avoid line breaks at markdown math equations #340

Open
ArmageddonKnight opened this issue Aug 9, 2022 · 0 comments
Open

Avoid line breaks at markdown math equations #340

ArmageddonKnight opened this issue Aug 9, 2022 · 0 comments

Comments

@ArmageddonKnight
Copy link

ArmageddonKnight commented Aug 9, 2022

Thanks for the great extension. It really helps me a lot when formatting my code.

Since GitHub markdown now has support for Math equations, it might be better if we could potentially avoid inserting line breaks inside math equations in MarkDown files, becuase those would prevent GitHub from rendering the math equations properly.

As an example, consider the following text:

  • Lorem Ipsum is simply dummy text of the printing and typesetting industry. $a = b + c$
    

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. $a = b + c$

  • Rewrap would reformat it to

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. $a =
    b + c$
    

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. $a =
    b + c$

    and hence not rendering the math equations properly.

The issue

might be related.

Thanks again.

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

No branches or pull requests

1 participant