From 706bdeda5a2adbf27919a217603aa127d63975f8 Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Fri, 25 Feb 2022 11:21:37 -0500 Subject: [PATCH 1/2] Use asterisks for emphasis- and strong-styles Given the inconsistent behavior of underscores used within words for style we should prefer asterisks now that these rules are available. --- .mdl_config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.mdl_config.yaml b/.mdl_config.yaml index b36f943..15a1a7c 100644 --- a/.mdl_config.yaml +++ b/.mdl_config.yaml @@ -48,3 +48,13 @@ MD035: MD046: # Enforce the fenced style for code blocks style: "fenced" + +# MD049/emphasis-style - Emphasis style should be consistent +MD049: + # Enforce asterisks as the style to use for emphasis + style: "asterisk" + +# MD050/strong-style - Strong style should be consistent +MD050: + # Enforce asterisks as the style to use for strong + style: "asterisk" From 7868a35e1097d291a73edb22fae3aa9017ec3768 Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Fri, 25 Feb 2022 11:23:25 -0500 Subject: [PATCH 2/2] Add missing hyphen in markdownlint rule header --- .mdl_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mdl_config.yaml b/.mdl_config.yaml index 15a1a7c..4a650c1 100644 --- a/.mdl_config.yaml +++ b/.mdl_config.yaml @@ -44,7 +44,7 @@ MD035: # Enforce dashes for horizontal rules style: "---" -# MD046/code-block-style Code block style +# MD046/code-block-style - Code block style MD046: # Enforce the fenced style for code blocks style: "fenced"