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

Starting with a backslash causes flickering #11

Open
carpetdev opened this issue Nov 18, 2024 · 0 comments
Open

Starting with a backslash causes flickering #11

carpetdev opened this issue Nov 18, 2024 · 0 comments

Comments

@carpetdev
Copy link
Contributor

carpetdev commented Nov 18, 2024

To replicate (using latex suite), type:

  1. mk (starts inline math mode, so we have $_$, where _ is the cursor)
  2. \ (now we have $\_$)
    But unfortunately, this plugin hasn't kicked in and obsidian takes the second $ to be escaped so math mode is disabled. Expected outcome is ${} \_ {}$, where the decorations would hide the braces.

The reason this is an issue for me is that I have some automatic text mode snippets in latex suite which are accidentally triggering and causing undesired outcome. Of course, it's an easy enough workaround to have them check there isn't a preceding $ (with a negative lookbehind) because of this edge case, but I thought I'd point out this behaviour.

In fact, the plugin seems to not kick in for any single characters, which might be intended.

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