From 7081425ba86a3c1b2e3a60ddfc42865db70e5591 Mon Sep 17 00:00:00 2001 From: Charlie Date: Mon, 8 Jul 2024 11:29:25 +0100 Subject: [PATCH] fix: latex spellcheck --- spellcheck.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spellcheck.yaml b/spellcheck.yaml index a651bd481..f91a6abd6 100644 --- a/spellcheck.yaml +++ b/spellcheck.yaml @@ -1,6 +1,5 @@ --- - matrix: - name: Markdown @@ -35,12 +34,15 @@ matrix: # Ignore text between inline back ticks - open: '`' close: '`' - # Ignore text between inline dollar signs (KaTex/LaTeX math) - - open: '$' - close: '$' # Ignore hugo/jinja tags - open: '{{' close: '}}' + # Ignore display LaTeX formulas ($$ ... $$) + - open: '\$\$' + close: '\$\$' + # Ignore display LaTeX formulas ($$ ... $$) + - open: '\$' + close: '\$' - pyspelling.filters.markdown: null - pyspelling.filters.html: comments: false