{"id":20810061,"url":"https://github.com/schwa/colored_markup","last_synced_at":"2026-04-13T00:18:04.070Z","repository":{"id":187957536,"uuid":"677867304","full_name":"schwa/colored_markup","owner":"schwa","description":"A library for parsing and rendering colored markup with CSS style rules.","archived":false,"fork":false,"pushed_at":"2024-06-30T02:12:01.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-07T18:12:11.523Z","etag":null,"topics":["ansi","color","colored","css","rust","terminal"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/schwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-08-12T22:57:49.000Z","updated_at":"2023-08-12T23:00:33.000Z","dependencies_parsed_at":"2024-03-19T19:52:14.897Z","dependency_job_id":null,"html_url":"https://github.com/schwa/colored_markup","commit_stats":null,"previous_names":["schwa/colored_markup"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2Fcolored_markup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2Fcolored_markup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2Fcolored_markup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwa%2Fcolored_markup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schwa","download_url":"https://codeload.github.com/schwa/colored_markup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158076,"owners_count":20245652,"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","color","colored","css","rust","terminal"],"created_at":"2024-11-17T20:19:16.126Z","updated_at":"2025-12-26T01:37:36.792Z","avatar_url":"https://github.com/schwa.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# colored_markup\n\nA rust library for parsing and rendering coloured markup with CSS style rules.\n\n## Usage\n\n```rust\nuse colored_markup::{println_markup, StyleSheet};\n\nlet style_sheet =\n    StyleSheet::parse(\"red { foreground: bright-red; styles: underline }\").unwrap();\nprintln_markup!(\u0026style_sheet, \"The next word is \u003cred\u003e{}\u003c/red\u003e\", \"red\");\n```\n\nSee [`examples`](https://github.com/schwa/colored_markup/tree/main/examples) for more.\n\n## License\n\nMIT. See [`LICENSE.txt`](https://github.com/schwa/colored_markup/blob/main/LICENSE.txt) for details.\n\n## TODO\n\n* RGB colour codes in CSS.\n* Better CSS parsing error handling.\n* Allow changing markup characters.\n* CLI tool.\n* Better documentation.\n* Get rid of re-exports?\n* Replace regex with Nom.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwa%2Fcolored_markup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschwa%2Fcolored_markup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwa%2Fcolored_markup/lists"}