{"library":"remark-lint-emphasis-marker","title":"remark-lint-emphasis-marker","description":"remark-lint rule to warn when emphasis markers (asterisks vs underscores) violate a given or consistent style. Current stable version is 4.0.1, ESM-only, requires Node.js 16+. Part of the unified/remark ecosystem, ships TypeScript types. Integrates with remark-lint presets like `remark-preset-lint-consistent` and `remark-preset-lint-markdown-style-guide`. Distributed as a scoped package on npm. Includes CLI support via remark CLI.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-emphasis-marker"],"cli":{"name":"remark","version":null}},"imports":["import remarkLintEmphasisMarker from 'remark-lint-emphasis-marker'","import type { Marker } from 'remark-lint-emphasis-marker'","import type { Options } from 'remark-lint-emphasis-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 remarkLintEmphasisMarker from 'remark-lint-emphasis-marker';\nimport { read } from 'to-vfile';\nimport { reporter } from 'vfile-reporter';\n\nconst file = await read('example.md');\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintEmphasisMarker, '*')\n  .use(remarkStringify)\n  .process(file);\n\nconsole.error(reporter(file));","lang":"typescript","description":"Lint emphasis markers in a Markdown file, enforcing asterisks as the preferred marker.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}