From 0009784587a4fa20d5e83e05a525638e8e0cd0e0 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Tue, 31 Oct 2023 08:26:30 -0700 Subject: [PATCH] Ignore triple-backtick code blocks in spellcheck (#919) This change teaches our spellcheck plugin to ignore triple-backtick style code blocks. Without this, spellcheck is trying to process the code samples in markdown as if they were not code. This is a port of the fix already applied to radius-project/design-notes. The typo in the branch name was not intentional, and adds an extra layer of irony to this change. Signed-off-by: Ryan Nowak --- .github/config/.pyspelling.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/config/.pyspelling.yml b/.github/config/.pyspelling.yml index 469d58e5e..0c38c5223 100644 --- a/.github/config/.pyspelling.yml +++ b/.github/config/.pyspelling.yml @@ -9,6 +9,8 @@ matrix: - .github/config/en-custom.txt pipeline: - pyspelling.filters.markdown: + markdown_extensions: + - markdown.extensions.fenced_code - pyspelling.filters.html: comments: false ignores: