{"id":17920930,"url":"https://github.com/davidanson/markdownlint-rule-extended-ascii","last_synced_at":"2025-08-27T13:22:54.008Z","repository":{"id":239713923,"uuid":"795336591","full_name":"DavidAnson/markdownlint-rule-extended-ascii","owner":"DavidAnson","description":"A markdownlint rule that allows only extended ASCII characters","archived":false,"fork":false,"pushed_at":"2025-08-23T00:07:45.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T02:36:02.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DavidAnson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"DavidAnson"}},"created_at":"2024-05-03T04:06:25.000Z","updated_at":"2025-06-15T01:25:52.000Z","dependencies_parsed_at":"2024-05-18T07:22:46.546Z","dependency_job_id":"d9e57273-5ccb-4e93-8571-e7f111aa3356","html_url":"https://github.com/DavidAnson/markdownlint-rule-extended-ascii","commit_stats":null,"previous_names":["davidanson/markdownlint-rule-extended-ascii"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/DavidAnson/markdownlint-rule-extended-ascii","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAnson%2Fmarkdownlint-rule-extended-ascii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAnson%2Fmarkdownlint-rule-extended-ascii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAnson%2Fmarkdownlint-rule-extended-ascii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAnson%2Fmarkdownlint-rule-extended-ascii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidAnson","download_url":"https://codeload.github.com/DavidAnson/markdownlint-rule-extended-ascii/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAnson%2Fmarkdownlint-rule-extended-ascii/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272335812,"owners_count":24916529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T20:29:42.038Z","updated_at":"2025-08-27T13:22:53.991Z","avatar_url":"https://github.com/DavidAnson.png","language":"JavaScript","funding_links":["https://github.com/sponsors/DavidAnson"],"categories":[],"sub_categories":[],"readme":"# markdownlint-rule-extended-ascii\n\n\u003e A markdownlint rule that allows only extended ASCII characters\n\n## Overview\n\nThis rule for the [Node.js markdownlint library][markdownlint] (and its\nassociated tools) allows only [extended ASCII][extended-ascii] characters in\n[Markdown][markdown] content. Specifically, it reports violations for\ncharacters that are not part of the [ISO/IEC 8859-1 character set][8859-1]\n(a.k.a. \"ISO Latin 1\", a.k.a. Unicode [Basic Latin][basic-latin] plus\n[Latin-1 Supplement][latin-1]).\n\nInformally, this extension limits Markdown content to just the printable\ncharacter codes less than 256. In other words, the standard 8-bit \"western\"\ncharacter set from the early days of computing. While this is too restrictive\nto be practical for many purposes, it is all that's needed for basic English\ntext as found in most README files, documentation, source code, and so on.\n\nThis rule will not be interesting to some people because it blocks the use of\n[emoji][emoji] as well as characters commonly used across Asia. However, it\nmeaningfully prevents the accidental use of so-called\n[smart quotes][smart-quotes], inconsistent [en/em dashes][en-em-dash], ambiguous\n[full-width characters][full-width], and the like.\n\nTo restrict things further and limit Markdown content to just the printable\ncharacter codes less than 128 (i.e., plain [ASCII][ascii]), set the rule's\n`ascii-only` parameter to `true`.\n\nThis rule provides fix information for smart quote and dash violations which can\nbe used by callers to fix such instances automatically.\n\n## Use\n\n### Install\n\n```bash\nnpm install markdownlint-rule-extended-ascii --save-dev\n```\n\n### Configure\n\nIf using [`markdownlint-cli`][markdownlint-cli]:\n\n```bash\nmarkdownlint --rules markdownlint-rule-extended-ascii *.md\n```\n\nIf using [`markdownlint-cli2`][markdownlint-cli2] and a\n`.markdownlint-cli2.jsonc` configuration file:\n\n```json\n{\n    \"customRules\": [\n        \"markdownlint-rule-extended-ascii\"\n    ]\n}\n```\n\nIf using [`markdownlint-cli2`][markdownlint-cli2] and a\n`.markdownlint-cli2.yaml` configuration file:\n\n```yaml\ncustomRules:\n    - markdownlint-rule-extended-ascii\n```\n\nIf using the [`markdownlint` extension for VS Code][vscode-markdownlint]:\n\n*See the `markdownlint-cli2` examples above or refer to the extension\ndocumentation*\n\n### Customize\n\nIf using a JSON [`markdownlint` configuration object][markdownlint-config]\nto set the `ascii-only` parameter:\n\n```json\n{\n    \"extended-ascii\": {\n        \"ascii-only\": true\n    },\n\n    \"some-other-rule\": false\n}\n```\n\nIf using YAML:\n\n```yaml\nextended-ascii:\n    ascii-only: true\n\nsome-other-rule: false\n```\n\n[8859-1]: https://en.wikipedia.org/wiki/ISO/IEC_8859-1\n[ascii]: https://en.wikipedia.org/wiki/ASCII\n[basic-latin]: https://en.wikipedia.org/wiki/Basic_Latin_(Unicode_block)\n[en-em-dash]: https://en.wikipedia.org/wiki/Dash\n[emoji]: https://en.wikipedia.org/wiki/Emoji\n[extended-ascii]: https://en.wikipedia.org/wiki/Extended_ASCII\n[full-width]: https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms\n[latin-1]: https://en.wikipedia.org/wiki/Latin-1_Supplement\n[markdown]: https://en.wikipedia.org/wiki/Markdown\n[markdownlint]: https://github.com/DavidAnson/markdownlint\n[markdownlint-cli]: https://github.com/igorshubovych/markdownlint-cli\n[markdownlint-cli2]: https://github.com/DavidAnson/markdownlint-cli2\n[markdownlint-config]: https://github.com/DavidAnson/markdownlint?tab=readme-ov-file#optionsconfig\n[smart-quotes]: https://en.wikipedia.org/wiki/Quotation_marks_in_English#Smart_quotes\n[vscode-markdownlint]: https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidanson%2Fmarkdownlint-rule-extended-ascii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidanson%2Fmarkdownlint-rule-extended-ascii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidanson%2Fmarkdownlint-rule-extended-ascii/lists"}