-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.remarkrc.js
37 lines (34 loc) · 1.32 KB
/
.remarkrc.js
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
// remark configuration (ref: <https://remark.js.org>)
// ref: <https://github.com/remarkjs/remark/tree/87c50a588466/packages/remark-cli#example-config-files-json-yaml-js>
// v2022-08-20 [rivy]
// spell-checker:ignore (people) Roy Ivy III * rivy (words) frontmatter retext
/* @prettier */ // note: (dprint) {.dprint.json}.prettier.associations should contain the name of this file
exports.plugins = [
require('remark-footnotes'),
// require('remark-frontmatter'),
[
require('remark-retext'),
require('unified')().use({
plugins: [
require('retext-english'),
require('retext-syntax-urls'),
// [require('retext-spell'), require('dictionary-en')],
[require('retext-sentence-spacing'), { preferred: 1 }],
require('retext-repeated-words'),
require('retext-passive'),
],
}),
],
'remark-preset-lint-consistent',
'remark-preset-lint-recommended',
'remark-preset-lint-markdown-style-guide',
['remark-lint-emphasis-marker', 'consistent'],
['remark-lint-file-extension', false],
['remark-lint-heading-increment', false],
['remark-lint-list-item-indent', 'mixed'],
['remark-lint-list-item-spacing', false],
['remark-lint-maximum-heading-length', false],
['remark-lint-maximum-line-length', false],
['remark-lint-no-duplicate-headings', false],
['remark-lint-unordered-list-marker-style', 'consistent'],
];