forked from ans-group/docs.ukfast.co.uk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spellcheck.yaml
42 lines (42 loc) · 1.09 KB
/
spellcheck.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
matrix:
- name: Markdown
aspell:
lang: en
d: en_GB
dictionary:
encoding: utf-8
wordlists:
- .wordlist.txt
- .wordlist-workaround.txt
pipeline:
- pyspelling.filters.url:
- pyspelling.filters.context:
context_visible_first: true
escapes: '\\[\\`~]'
delimiters:
# Ignore multiline content between fences (fences can have 3 or more back ticks)
- open: '(?s)^(?P<open> *`{3,})\S+$'
close: '^(?P=open)$'
# Ignore text between inline back ticks
- open: '(?P<open>(`|``))+'
close: '(?P=open)'
# Ignore everything after :keywords:
- open: '(:keywords:)+'
close: '$'
# Ignore pre-, post- prefixes
- open: '\W(Pre|pre|Post|post|Un|un)'
close: '-'
# Ignore 1st, 2nd, 3rd, etc.
- open: '\W[0-9]+(?:st|[nr]d|th)'
close: '\W'
# Ignore bare URLs, surrounded in <>
- open: '\W<\w+:\/\/'
close: '>\W'
- pyspelling.filters.markdown:
- pyspelling.filters.html:
comments: false
ignores:
- code
- pre
- nospell
default_encoding: utf-8