{"_id":"@binz/config-remark","_rev":"2-a7a69ab33a6eeb5baa1c68e8fd89e46e","name":"@binz/config-remark","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@binz/config-remark","version":"1.0.0","keywords":["config","pnpm","md","remark"],"author":{"name":"Ryan Binns","email":"hi@rbi.nz"},"license":"MIT","_id":"@binz/config-remark@1.0.0","maintainers":[{"name":"binz","email":"npm@rbi.nz"}],"homepage":"https://github.com/binzcodes/lab#readme","bugs":{"url":"https://github.com/binzcodes/lab/issues"},"dist":{"shasum":"b067bdff5a99d922ac937ebdb0b71332147dd55c","tarball":"https://registry.npmjs.org/@binz/config-remark/-/config-remark-1.0.0.tgz","fileCount":5,"integrity":"sha512-FYHP3xhIgPhYREfsZnUn0H4zuFsn+6urSbR31fl5fNuE6wdyZB+jwrnTXIVGVytzRrR7vO8ZgMeoVov6kTzWpg==","signatures":[{"sig":"MEQCIFTvejb0lVoIldQtkSJeitcGYG1uPOmDKfJAPZulXLLDAiAd+T3rffp07treohJtUjoF2xVEe961GwrHz9V3asm1Ow==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5632},"main":"index.js","type":"module","_from":"file:binz-config-remark-1.0.0.tgz","_npmUser":{"name":"binz","email":"npm@rbi.nz"},"_resolved":"/tmp/e268f90300e3512baec6365fb8ec6d1f/binz-config-remark-1.0.0.tgz","_integrity":"sha512-FYHP3xhIgPhYREfsZnUn0H4zuFsn+6urSbR31fl5fNuE6wdyZB+jwrnTXIVGVytzRrR7vO8ZgMeoVov6kTzWpg==","repository":{"url":"git+https://github.com/binzcodes/lab.git","type":"git","directory":"packages/remark"},"_npmVersion":"10.8.2","description":"Shared remark config","directories":{},"_nodeVersion":"20.17.0","dependencies":{"remark-toc":"9.0.0","remark-frontmatter":"5.0.0","remark-validate-links":"13.0.1","remark-preset-prettier":"^2.0.1","remark-lint-fenced-code-flag":"4.0.0","remark-lint-list-item-indent":"4.0.0","remark-preset-lint-consistent":"6.0.0","remark-preset-lint-recommended":"7.0.0","remark-lint-no-duplicate-headings":"4.0.0","remark-lint-no-undefined-references":"5.0.0","remark-preset-lint-markdown-style-guide":"6.0.0","remark-lint-no-file-name-irregular-characters":"3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"remark":"^15.0.1","remark-cli":"^12.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-remark_1.0.0_1727599712916_0.9291285595189351","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@binz/config-remark","version":"1.0.1","publishConfig":{"access":"public"},"keywords":["config","pnpm","md","remark"],"description":"Shared remark config","author":{"name":"Ryan Binns","email":"hi@rbi.nz"},"license":"MIT","repository":{"url":"git+https://github.com/binzcodes/lab.git","type":"git","directory":"packages/remark"},"homepage":"https://github.com/binzcodes/lab#readme","bugs":{"url":"https://github.com/binzcodes/lab/issues"},"type":"module","main":"index.js","dependencies":{"remark-frontmatter":"5.0.0","remark-lint-fenced-code-flag":"4.0.0","remark-lint-list-item-indent":"4.0.1","remark-lint-no-duplicate-headings":"4.0.1","remark-lint-no-file-name-irregular-characters":"3.0.1","remark-lint-no-undefined-references":"5.0.1","remark-preset-lint-consistent":"6.0.1","remark-preset-lint-markdown-style-guide":"6.0.1","remark-preset-lint-recommended":"7.0.1","remark-preset-prettier":"^2.0.1","remark-toc":"9.0.0","remark-validate-links":"13.0.2"},"peerDependencies":{"remark":"^15.0.1","remark-cli":"^12.0.1"},"_id":"@binz/config-remark@1.0.1","_integrity":"sha512-BC2oAPXFNqwL5dch+5Gob7MVNYLk3t5YX/7Ny+70LD0+3sMDvVG8guItWMo4Ih/eCgDL/O+J9cootVN2Tl8Big==","_resolved":"/tmp/a9260e63133e1038950efe2ab5db9bd5/binz-config-remark-1.0.1.tgz","_from":"file:binz-config-remark-1.0.1.tgz","_nodeVersion":"20.18.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-BC2oAPXFNqwL5dch+5Gob7MVNYLk3t5YX/7Ny+70LD0+3sMDvVG8guItWMo4Ih/eCgDL/O+J9cootVN2Tl8Big==","shasum":"29691d8c18ba8c9ec1c6fbfbb09be2dbad5127c4","tarball":"https://registry.npmjs.org/@binz/config-remark/-/config-remark-1.0.1.tgz","fileCount":5,"unpackedSize":5696,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHqW9/3gDyMxlsQ4GvhNiZoyqI6k4CgbQ/ZKYZDTw2AmAiBTqNbwb6YD641H1+iHbFlAYClXQ8VAY2QlwWX6In1FcA=="}]},"_npmUser":{"name":"binz","email":"npm@rbi.nz"},"directories":{},"maintainers":[{"name":"binz","email":"npm@rbi.nz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/config-remark_1.0.1_1741621782519_0.6468773032489896"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-29T08:48:32.839Z","modified":"2025-03-10T15:49:42.849Z","1.0.0":"2024-09-29T08:48:33.079Z","1.0.1":"2025-03-10T15:49:42.686Z"},"bugs":{"url":"https://github.com/binzcodes/lab/issues"},"author":{"name":"Ryan Binns","email":"hi@rbi.nz"},"license":"MIT","homepage":"https://github.com/binzcodes/lab#readme","keywords":["config","pnpm","md","remark"],"repository":{"url":"git+https://github.com/binzcodes/lab.git","type":"git","directory":"packages/remark"},"description":"Shared remark config","maintainers":[{"name":"binz","email":"npm@rbi.nz"}],"readme":"# Remark configuration\n\n`remark` handles linting, formatting and generative content for markdown files (.md).\n\n`@binz/config-remark` is a shared custom configuration for the `remark` markdown processor.\n\n- Ensures language flags set on all codeblocks\n- Supports frontmatter in markdown files\n- Uses `prettier` for formatting\n\n## Setup\n\nAdd workspace reference to `@binz/config-remark` and its peer dependencies:\n\n```sh\npnpm add -w @binz/config-remark remark remark-cli\n```\n\nAdd remark configuration file:\n\n```js\n// .remarkrc.mjs\n\nexport { default } from '@binz/config-remark';\n```\n\nAdd remark ignore patterns file:\n\n```sh\n# .remarkignore\n\nnode_modules/\n\n# Next ignore patterns\n.next/\n.build/\n.coverage/\n\n# Custom ignore patterns\n...\n```\n\nAdd remark scripts:\n\n```json\n// package.json\n  ...\n  \"scripts\": {\n    ...\n    \"remark\": \"remark\",\n    \"remark:fix\": \"pnpm remark --output --\"\n    ...\n  }\n```\n\n## Automation\n\nThe `remark` vscode plugin automates linting and formatting markdown files on on save.\n\nInstall vs code `remark` plugin by using Quick Open (`Ctrl` + `P`) and running the following command:\n\n```sh\next install unifiedjs.vscode-remark\n```\n\n## Usage\n\nManual usage from command line:\n\n```sh\npnpm remark .\npnpm remark:fix .\n```\n","readmeFilename":"README.md"}