{"library":"remark-lint-strikethrough-marker","title":"remark-lint-strikethrough-marker","description":"remark-lint rule to enforce consistent GFM strikethrough markers (one tilde vs two). Current stable version is 3.0.1, ESM-only, requires Node.js 16+. Part of the remark-lint monorepo, ships TypeScript definitions. Unopinionated: default 'consistent' detects the first style and warns on deviations. Unlike general Markdown linting, this specifically targets the strikethrough marker count, a common source of inconsistency when using remark-gfm.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-strikethrough-marker"],"cli":null},"imports":["import remarkLintStrikethroughMarker from 'remark-lint-strikethrough-marker'","import type { Marker } from 'remark-lint-strikethrough-marker'","import type { Options } from 'remark-lint-strikethrough-marker'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport remarkLint from 'remark-lint'\nimport remarkLintStrikethroughMarker from 'remark-lint-strikethrough-marker'\nimport remarkGfm from 'remark-gfm'\nimport { read } from 'to-vfile'\nimport { reporter } from 'vfile-reporter'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkGfm)\n  .use(remarkLint)\n  .use(remarkLintStrikethroughMarker, '~~')\n  .use(remarkStringify)\n  .process(await read('example.md'))\n\nconsole.error(reporter(file))","lang":"typescript","description":"Lint an MD file with remark-lint-strikethrough-marker enforcing two-tilde style, including GFM and reporter.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}