1.0.0 • Published 3 years ago
@lottiefiles/remark-preset v1.0.0
@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-presetInstall Dependencies
Peer Dependencies
| Package Name | Version |
|---|---|
| puppeteer | * |
| remark | * |
Optional Dependencies
| Package Name | Version |
|---|---|
| install-chrome-dependencies | * |
Usage
- Create a
.remarkrc.mjsfile in the project root and add the following content:
import remarkPreset from '@lottiefiles/remark-preset';
export default remarkPreset;- Create a
.remarkignorefile 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.
1.0.0
3 years ago