-
Notifications
You must be signed in to change notification settings - Fork 204
/
.pyspelling.yml
41 lines (39 loc) · 1.13 KB
/
.pyspelling.yml
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
matrix:
- name: Markdown
aspell:
lang: en
d: en_US
dictionary:
wordlists:
- .wordlist.txt
output: .wordlist.dict
sources:
- 'content/**/*.md|!content/{golang,exchange/artifacts/pages,artifact_references/pages}/**'
pipeline:
- pyspelling.filters.context:
context_visible_first: true
escapes: '\\[\\`]'
delimiters:
# Ignore multiline content between fences (fences can have 3 or more back ticks)
# ```
# content
# ```
- open: '(?s)^(?P<open> *`{3,})'
close: '^(?P=open)$'
# Insides of URL links
- open: '\]\('
close: '\)'
# Bolded words are usually terms
- open: '[*]+'
close: '[*]+'
# Inside HTML tags
- open: '(?s)(?P<open>[<])'
close: '[>]'
# Ignore text between inline back ticks
- open: '(?P<open>`+)'
close: '(?P=open)'
# Inside yaml headers
- open: '(?s)^(?P<open>---)$'
close: '^(?P=open)$'
- pyspelling.filters.markdown:
- pyspelling.filters.url: