dprint/dprint-plugin-markdown

Underscore as default for *emphasis*

Closed this issue · 2 comments

mnil commented

Describe the bug

Why is underscores (_) the default for emphasis?

From https://www.markdownguide.org/basic-syntax/#italic:

Markdown applications don’t agree on how to handle underscores in the middle of a word. For compatibility, use asterisks to italicize the middle of a word for emphasis.

Is there any disadvantage to using asterisks for emphasis?

dprint-plugin-markdown version: 0.16.2

Okay, thanks for the answer!