Skip to content

Underscores are auto-paired (doubled) in inline code. #1061

@gaetanww

Description

@gaetanww

Description

When writing in inline code using ` `, writing an underscore (i.e. _) will double the underscore, as if I wanted to emphasize something: emphasis (i.e. _emphasis_).
In code blocks ```, it works as expected.

  • Can you reproduce the issue?

Steps to reproduce

  1. Create inline code with two `.
  2. write some code including an underscore.

Expected behavior:
When writing inline code, underscores should't be added automatically as it does in normal text.

Actual behavior:
When writing

When writing inlicne, underscores are doubled.

Versions

  • Mark Text: 0.14.0
  • Operating system: Win10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions