[GH-ISSUE #354] MD037/no-space-in-emphasis: Warning #298

Closed
opened 2026-03-03 01:25:31 +03:00 by kerem · 1 comment
Owner

Originally created by @tobse80 on GitHub (Dec 10, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/354

Description

Look at e.g. the following line:

some_snake_case_funcion() is _fixed_

The line is rendered correctly, but markdown triggers a "MD037/no-space-in-emphasis" warning for the _funcion() is _ part:

image

Expected behaviour

No MD037 warning, as there is no such "space in emphasis" situation.

Affected version

markdownlint v0.38.0

Additional info

Visual Studio Code
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:34:32.027Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.16299

Originally created by @tobse80 on GitHub (Dec 10, 2020). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/354 ### Description Look at e.g. the following line: ```markdown some_snake_case_funcion() is _fixed_ ``` The line is rendered correctly, but markdown triggers a "MD037/no-space-in-emphasis" warning for the `_funcion() is _` part: ![image](https://user-images.githubusercontent.com/26721935/101749891-8ee55400-3ace-11eb-9c61-534b07a48b7a.png) ### Expected behaviour No MD037 warning, as there is no such "space in emphasis" situation. ### Affected version markdownlint v0.38.0 ### Additional info Visual Studio Code Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f Date: 2020-11-10T23:34:32.027Z Electron: 9.3.3 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Windows_NT x64 10.0.16299
kerem 2026-03-03 01:25:31 +03:00
Author
Owner

@DavidAnson commented on GitHub (Dec 10, 2020):

This appears to be a duplicate of https://github.com/DavidAnson/markdownlint/issues/324 which includes a few workarounds.

<!-- gh-comment-id:742641445 --> @DavidAnson commented on GitHub (Dec 10, 2020): This appears to be a duplicate of https://github.com/DavidAnson/markdownlint/issues/324 which includes a few workarounds.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#298
No description provided.