Skip to content

[BUG] Typing '/' in inline math triggers two slashes #415

Open
@mcheng149

Description

@mcheng149

Description

When typing in inline math immediately before a display math block, if auto-fraction is enabled, typing a single / character triggers // instead.

To Reproduce

  1. Make sure auto-fraction is enabled.
  2. Type some display math block, e.g.
$$
x = 5
$$

In a line immediately before the display math block, type mk to trigger inline math, then type /.

This results in

$//$
$$
x = 5
$$

Expected Behavior

Only a single / character should appear:

$/$
$$
x = 5
$$

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions