{"id":13463239,"url":"https://github.com/rubychan/coderay","last_synced_at":"2025-03-25T06:31:39.924Z","repository":{"id":1574996,"uuid":"2020599","full_name":"rubychan/coderay","owner":"rubychan","description":"Fast and easy syntax highlighting for selected languages, written in Ruby.","archived":false,"fork":false,"pushed_at":"2024-11-02T01:22:11.000Z","size":12754,"stargazers_count":850,"open_issues_count":125,"forks_count":115,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-02-24T04:11:32.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://coderay.rubychan.de/","language":"Ruby","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/rubychan.png","metadata":{"files":{"readme":"README.markdown","changelog":"Changes-pre-1.0.textile","contributing":null,"funding":null,"license":"MIT-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":"2011-07-08T23:49:05.000Z","updated_at":"2025-02-23T00:57:41.000Z","dependencies_parsed_at":"2024-11-19T04:01:06.452Z","dependency_job_id":"23acc301-d273-4a67-ac5c-4538fff11af5","html_url":"https://github.com/rubychan/coderay","commit_stats":{"total_commits":1146,"total_committers":27,"mean_commits":42.44444444444444,"dds":"0.060209424083769614","last_synced_commit":"eabc13c2a17895dec54cfde2a2d1288e17b6722a"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubychan%2Fcoderay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubychan%2Fcoderay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubychan%2Fcoderay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubychan%2Fcoderay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubychan","download_url":"https://codeload.github.com/rubychan/coderay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240576456,"owners_count":19823293,"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":[],"created_at":"2024-07-31T13:00:48.771Z","updated_at":"2025-03-25T06:31:39.911Z","avatar_url":"https://github.com/rubychan.png","language":"Ruby","readme":"# CodeRay\n\n[![CircleCI](https://dl.circleci.com/status-badge/img/gh/rubychan/coderay/tree/master.svg?style=svg\u0026circle-token=CCIPRJ_BbFff6nMhNtPdrCBNMDxNq_be00bbb00849a29d8d8d2e28e7b84cbf76a9ee5c)](https://dl.circleci.com/status-badge/redirect/gh/rubychan/coderay/tree/master) [![Gem Version](https://badge.fury.io/rb/coderay.svg)](https://badge.fury.io/rb/coderay) [![Maintainability](https://api.codeclimate.com/v1/badges/e015bbd5eab45d948b6b/maintainability)](https://codeclimate.com/github/rubychan/coderay/maintainability)\n\n## About\n\nCodeRay is a Ruby library for syntax highlighting.\n\nYou put your code in, and you get it back colored; Keywords, strings, floats, comments - all in different colors. And with line numbers.\n\n## Installation\n\n`gem install coderay`\n\n### Dependencies\n\nCodeRay needs Ruby 1.8.7, 1.9.3 or 2.0+. It also runs on JRuby.\n\n## Example Usage\n\n```ruby\nrequire 'coderay'\n\nhtml = CodeRay.scan(\"puts 'Hello, world!'\", :ruby).div(:line_numbers =\u003e :table)\n````\n\n## Documentation\n\nSee [rubydoc](http://rubydoc.info/gems/coderay).\n","funding_links":[],"categories":["HTML \u0026 Markup","Code Highlighting","Ruby","File preview"],"sub_categories":["Syntax Highlighting","Plugin manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubychan%2Fcoderay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubychan%2Fcoderay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubychan%2Fcoderay/lists"}