@lottiefiles/remark-preset
v1.0.0
Published
Shared Remark config for LottieFiles projects
Downloads
197
Maintainers
Readme
@lottiefiles/remark-preset
Shared preset for Remark for formatting and linting Markdown files.
Table of contents
Installation
Install Remark CLI and this preset.
pnpm add -D remark-cli @lottiefiles/remark-preset
Install Dependencies
Peer Dependencies
| Package Name | Version | | ------------ | ------- | | puppeteer | * | | remark | * |
Optional Dependencies
| Package Name | Version | | --------------------------- | ------- | | install-chrome-dependencies | * |
Usage
- Create a
.remarkrc.mjs
file in the project root and add the following content:
import remarkPreset from '@lottiefiles/remark-preset';
export default remarkPreset;
- Create a
.remarkignore
file in the project and add the following content:
# Build artifacts
build/
dist/
artifacts/
# Changelog
CHANGELOG.md
# IDE related
.idea/
.history/
# Package management
node_modules/
.yarn/
# Testing
__fixtures__
coverage/
reports/
# Temporary or local data
temp/
tmp/
Changelog
See CHANGELOG.md for the latest changes.