{"id":22964758,"url":"https://github.com/devaloka/cm-special-char-indicator","last_synced_at":"2026-05-18T02:05:02.957Z","repository":{"id":139675082,"uuid":"181671151","full_name":"devaloka/cm-special-char-indicator","owner":"devaloka","description":"Extensible special character indicator for CodeMirror, which is useful to avoid hard-to-find errors caused by non-usual characters.","archived":false,"fork":false,"pushed_at":"2019-04-16T11:40:17.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-27T11:00:09.588Z","etag":null,"topics":["codemirror","productivity","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devaloka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2019-04-16T10:53:32.000Z","updated_at":"2019-04-16T11:40:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6151b5f-62f3-4e7b-ba50-420672b4e89f","html_url":"https://github.com/devaloka/cm-special-char-indicator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devaloka/cm-special-char-indicator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devaloka%2Fcm-special-char-indicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devaloka%2Fcm-special-char-indicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devaloka%2Fcm-special-char-indicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devaloka%2Fcm-special-char-indicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devaloka","download_url":"https://codeload.github.com/devaloka/cm-special-char-indicator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devaloka%2Fcm-special-char-indicator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["codemirror","productivity","wordpress","wordpress-plugin"],"created_at":"2024-12-14T20:12:20.689Z","updated_at":"2026-05-18T02:05:02.924Z","avatar_url":"https://github.com/devaloka.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeMirror Special Character Indicator\n\nExtensible special character indicator for CodeMirror, which is useful to avoid hard-to-find errors caused by non-usual characters.\n\n![example.png](assets/images/example.png)\n\n## Backgrounds\n\nCodeMirror which is integrated in WP code editor also supports special characters indicator.\n\nHowever, the default indicator (red dot) is a bit small. In addition WP doesn't have proper way to extend CodeMirror settings that is not JSON-encodable.\n\nThis plugin provides easy-to-find indication and the filter hook to extend special characters.\n\n## Special characters\n\nBy default, this plugin emphasizes the special characters below.\n\n### The default special characters defined by CodeMirror\n\nThe characters below are the default ones supported by CodeMirror by default.\n\n* U+0000-U+001F\n* U+007F-U+009F\n* U+00AD\n* U+061C\n* U+200B-U+200F\n* U+2028\n* U+2029\n* U+FEFF\n\n### Additional special characters\n\nThis plugin adds a few characters below.\n\n* U+00A0\n* U+FEFE\n\n## Hooks\n\nYou can modify special characters what you want to emphasize by the filter hook below.\n\n### apply_filters( 'cmsci_special_chars', $special_chars )\n\nFilters the list of the special characters to highlight.\n\n#### Description\n\nThis includes the same elements as the default value of `CodeMirror.defaults.specialChars` option by default.\n\n#### Parameters\n\n* **$special_chars** (string[]) An array of the special characters. Each element is evaluated as a character in RegExp character class.\n\n## LICENSE\n\n* MIT\n* GNU General Public License v2 or later\n\nSPDX-License-Identifier: MIT OR GPL-2.0-or-later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevaloka%2Fcm-special-char-indicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevaloka%2Fcm-special-char-indicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevaloka%2Fcm-special-char-indicator/lists"}