Shared Remark config for LottieFiles projects
npm install @lottiefiles/remark-preset> Shared preset for Remark for formatting and linting Markdown files.
* Installation
* Install Dependencies
* Usage
* Changelog
Install Remark CLI and this preset.
```
pnpm add -D remark-cli @lottiefiles/remark-preset
#### Peer Dependencies
| Package Name | Version |
| ------------ | ------- |
| puppeteer | \* |
| remark | \* |
#### Optional Dependencies
| Package Name | Version |
| --------------------------- | ------- |
| install-chrome-dependencies | \* |
1. Create a .remarkrc.mjs file in the project root and add the following content:
`js`
import remarkPreset from '@lottiefiles/remark-preset';
export default remarkPreset;
2. Create a .remarkignore file in the project and add the following content:
`Build artifacts
build/
dist/
artifacts/
See CHANGELOG.md for the latest changes.