From 09da2ba7f7861d5843cd18e4c71049b2a39c7fe1 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Mon, 30 Oct 2023 12:51:22 -0700 Subject: [PATCH] Ignore triple-backtick code blocks in spellcheck 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: