diff --git a/.github/workflows/config/spellcheck_config.yml b/.github/workflows/config/spellcheck_config.yml index fc7b5d4a1a..d3934d8542 100644 --- a/.github/workflows/config/spellcheck_config.yml +++ b/.github/workflows/config/spellcheck_config.yml @@ -148,6 +148,9 @@ matrix: # Ignore multiline content between three or more backticks - open: '(?s)(?P\s*`{3,})\S*\s*$' close: '(?P=open)$' + # Ignore multiline content fenced by \code ... \endcode + - open: '(?s)^\s*(\\code)' + close: '\\endcode$' # Ignore content between inline backticks - open: '(?P`+)' close: '(?P=open)'