{"id":17750696,"url":"https://github.com/lloiser/language-ansi-styles","last_synced_at":"2025-04-01T09:39:43.269Z","repository":{"id":76063560,"uuid":"81025624","full_name":"lloiser/language-ansi-styles","owner":"lloiser","description":":art: atom grammar for ANSI SGR styles","archived":false,"fork":false,"pushed_at":"2018-02-22T20:29:13.000Z","size":110,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-07T23:34:09.056Z","etag":null,"topics":["ansi","ansi-colors","atom"],"latest_commit_sha":null,"homepage":"https://atom.io/packages/language-ansi-styles","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/lloiser.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-02-05T22:04:58.000Z","updated_at":"2023-08-07T23:34:09.057Z","dependencies_parsed_at":null,"dependency_job_id":"b40de55d-fefc-4024-98d1-627f411f3c14","html_url":"https://github.com/lloiser/language-ansi-styles","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloiser%2Flanguage-ansi-styles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloiser%2Flanguage-ansi-styles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloiser%2Flanguage-ansi-styles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloiser%2Flanguage-ansi-styles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lloiser","download_url":"https://codeload.github.com/lloiser/language-ansi-styles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620164,"owners_count":20806716,"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","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":["ansi","ansi-colors","atom"],"created_at":"2024-10-26T12:23:23.886Z","updated_at":"2025-04-01T09:39:43.235Z","avatar_url":"https://github.com/lloiser.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [language-ansi-styles](https://atom.io/packages/language-ansi-styles)\n\nConverts ANSI escape sequences into formatted text like in your terminal/shell.\n\n![Demo](https://raw.githubusercontent.com/lloiser/language-ansi-styles/master/assets/sample.png)\n\nEven basic images are possible:\n\n![Smiley](https://raw.githubusercontent.com/lloiser/language-ansi-styles/master/assets/smiley.png)\n\n# Options\n\n* _Hide escape sequences_: hides all escape sequences and only keep the bare text with styles and color applied to it. \u003cbr /\u003e __NOTE:__ Hiding characters in atom causes the editor to behave weirdly. The selection and cursor position is totally screwed and makes it pretty hard navigate within or select any text.\n\n# Caveats\n\n* the escape code for inverse `7` is currently not supported\n\n* escape codes `38;2;r;g;b` and `48;2;r;g;b` are not supported\n\nWith these escape codes you can specify any rgb color (each color ranging from 0-255). Due to the nature of a grammar in atom it is not possible to create styles on demand as they occur. I could (in theory) create \u003e16 million styles to capture every possible rgb color, but I doubt atom feels well afterwards...\n\n* atom wraps after 500 characters, period.\n\natom v1.15.0 introduced a hard limit after how many characters a line automatically wraps to a line. This is actually not a big deal for a typical user. But keep it in mind before opening an issue.\n\n* No themes at the moment\n\nThere is currently no possibility to define/select themes. For now you can override the colors in your own atom stylesheet.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flloiser%2Flanguage-ansi-styles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flloiser%2Flanguage-ansi-styles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flloiser%2Flanguage-ansi-styles/lists"}