forked from streetsidesoftware/cspell-dicts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcspell-ext.yaml
44 lines (44 loc) · 1.29 KB
/
cspell-ext.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
43
44
id: markdown
version: '0.2'
name: Markdown
description: Markdown dictionary for cspell.
readonly: true
dictionaryDefinitions:
# To be added when there are keywords.
# - name: markdown
# path: ./markdown.txt.gz
# description: Markdown dictionary for cspell.
patterns:
- name: MARKDOWN-link-reference
description: 'Markdown reference link: `[This is a link][reference]`, matches `[reference]`'
pattern: >-
/(?<=\])\[[-\w.`'"*&;#@ ]+\]/g
- name: MARKDOWN-link-footer
description: 'Markdown referenced link: `[reference]: https://www.google.com`, matches the entire reference.'
pattern: >-
/\[[-\w.`'"*&;#@ ]+\]:( [^\s]*)?/g
- name: MARKDOWN-link
description: 'Markdown link: `[link text](link)`, matches `link`'
pattern: >-
/(?<=\]\()[^)\s]+/g
- name: MARKDOWN-anchor
description: 'Markdown Anchors: `<a id="my_link"></a>`, matches `my_link`'
pattern: >-
/(?<=<a\s+id=")[^"\s]+/g
languageSettings:
- languageId: markdown,mdx
locale: '*'
ignoreRegExpList:
- MARKDOWN-link-reference
- MARKDOWN-link-footer
- MARKDOWN-link
- MARKDOWN-anchor
- HTML-symbol-entity
dictionaries:
- html
- html-symbol-entities
- languageId: mdx
locale: '*'
dictionaries:
- typescript
- css