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

Align environment inentation with & characters. #428

Open
jfab20 opened this issue May 8, 2022 · 0 comments
Open

Align environment inentation with & characters. #428

jfab20 opened this issue May 8, 2022 · 0 comments

Comments

@jfab20
Copy link

jfab20 commented May 8, 2022

Let's say I have the following document: test.md:

---
title: Test title
---

# test section

- Test bullet. 
  Some text
  \begin{align*}
  x^2 + 1 |
  \end{align*}

My cursor is in |. In align environments you use a lot the & character, and when I type it the following occurs:

---
title: Test title
---

# test section

- Test bullet.
  Some text
  \begin{align*}
x^2 + 1 &= 0 
  \end{align*}	

The line gets auto-indented and it removes the spaces before the line. This is not desirable because I'm typing in a list and
I want everything aligned with the list. How can I fix this?

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

No branches or pull requests

2 participants