Skip to content

Toggle math bug: Block quote is not respected #907

Open
@randallwc

Description

Problem

When using the macro ⌘+M for generating

  • $$
  • $$\n\n$$
  • $$ $$

It works unless you are at the end of a blockquote.

How to reproduce

> blockquote
> |

Place your cursor where '|' is in the above code block and press the "⌘+M" macro three times.

From here you can see that the sequence of events is as follows

> blockquote
> $|$
> blockquote
> $$
|
$$

but after you press it again it goes to this

> blockquote
> $$
$|$
$$

Instead of this

> blockquote
> $$ | $$

environment

I am on a mac on macOS Big Sur.

errors in console

[Extension Host] (node:4926) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Extension host terminated unexpectedly. Code:  null  Signal:  SIGABRT
Extension host terminated unexpectedly.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Area: Block quotehttps://spec.commonmark.org/0.30/#block-quotesArea: InputRelated to editor input processing (key presses, key bindings).Area: MathIssue: Bug

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions