2.1.3 ⢠Published 6 months ago
@quartzds/remark-preset v2.1.3
@quartzds/remark-preset
Shareable remark preset for Quartz design system packages.
šæ Installation
npm install --save-dev @quartzds/remark-presetš Usage
Below are some common ways to get started.
CLI
Install remark-cli:
npm install --save-dev remark-cliAdd the following configuration to package.json:
/* ... */
"remarkConfig": {
"plugins": [
"@quartzds/remark-preset"
]
},
/* ... */Then add an NPM script to package.json:
/* ... */
"scripts": {
/* ... */
"check": "remark . --quiet --frail",
/* ... */
},
/* ... */API
import { remark } from 'remark'
import remarkPresetQuartz from '@quartzds/remark-preset'
import { reporter } from 'vfile-reporter'
const file = await remark()
.use(remarkPresetQuartz)
.process('This and and that.')
console.error(reporter(file))Yields:
1:6-1:13 warning Expected `and` once, not twice and retext-repeated-words
ā 1 warningRefer to the remark examples documentation for more information.
āļø License
See the LICENSE file for license rights and limitations.
2.1.2
7 months ago
2.0.3
7 months ago
2.1.1
7 months ago
2.0.2
7 months ago
2.1.3
6 months ago
2.1.0
7 months ago
2.0.1
7 months ago
2.0.0
7 months ago
2.0.0-beta.4
1 year ago
2.0.0-beta.3
1 year ago
1.1.1
2 years ago
2.0.0-beta.2
2 years ago
2.0.0-beta.1
2 years ago
1.1.0
3 years ago
1.1.0-beta.1
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.0-beta.3
3 years ago
1.0.0-beta.2
3 years ago
1.0.0-beta.1
3 years ago