{"id":28383851,"url":"https://github.com/cedaro/shiny-code","last_synced_at":"2026-02-23T18:37:05.134Z","repository":{"id":143370413,"uuid":"143216933","full_name":"cedaro/shiny-code","owner":"cedaro","description":"A Gutenberg block for editing and displaying code with syntax highlighting.","archived":false,"fork":false,"pushed_at":"2025-04-01T11:55:29.000Z","size":735,"stargazers_count":53,"open_issues_count":6,"forks_count":5,"subscribers_count":8,"default_branch":"develop","last_synced_at":"2025-06-25T22:38:46.225Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cedaro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2018-08-01T23:05:06.000Z","updated_at":"2025-06-13T15:19:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"a394b087-8282-4667-a913-ec782cb3844b","html_url":"https://github.com/cedaro/shiny-code","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cedaro/shiny-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedaro%2Fshiny-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedaro%2Fshiny-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedaro%2Fshiny-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedaro%2Fshiny-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedaro","download_url":"https://codeload.github.com/cedaro/shiny-code/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedaro%2Fshiny-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29750726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-05-30T07:38:09.074Z","updated_at":"2026-02-23T18:37:05.122Z","avatar_url":"https://github.com/cedaro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shiny Code\n\nA Gutenberg block for editing and displaying code with syntax highlighting.\n\n__Requires:__ PHP 7.0 (or later)  \n__License:__ [GPLv2 (or later)](https://www.gnu.org/licenses/gpl-2.0.html)\n\n![Animation showing how to convert a code block, set the code language, and change the syntax highlight theme.](screenshot-1.gif)\n\n## Features\n\n* Choose a language for each code block\n* Toggle whether or not line numbers should display\n* Multiple syntax highlighting themes available\n* Highlight specific lines to draw attention to them\n* Choose a custom highlight color\n* Easily transform to/from core Code blocks\n* Code is saved as plain text, allowing it to be displayed in feeds and other contexts\n\n### Languages\n\nSupport for the following languages is included by default:\n\n* CSS\n* HTML\n* JavaScript\n* JSON\n* PHP\n\nAdditional languages can be registered using the `shiny_code_languages` filter.\n\n### Themes\n\n[Atom One Light](https://github.com/atom/one-light-syntax) and [Atom One Dark](https://github.com/atom/one-dark-syntax) themes are included and additional themes can be registered using the `shiny_code_themes` filter.\n\n_CodeMirror and Prism.js don't tokenize code exactly the same, so there will likely be slight differences between the colors in the editor and on the frontend._\n\n## Installation\n\nTo install _Shiny Code_:\n\n1. [Download the latest release](https://github.com/cedaro/shiny-code/releases/latest) from GitHub (the saved file should be named `shiny-code-{version}.zip`).\n2. Go to the _Plugins \u0026rarr; Add New_ screen in your WordPress admin panel.\n3. Click the __Upload__ button at the top next to the \u0026ldquo;Add Plugins\u0026rdquo; title.\n4. Upload the zip file downloaded in the first step.\n5. Click the __Activate Plugin__ link after installation completes.\n\n### From Source\n\nTo build _Shiny Code_ from source, clone this repository in `wp-content/plugins/`, then run the build steps:\n\n```shell\ngit clone https://github.com/cedaro/shiny-code.git\ncd shiny-code\ncomposer install\nnpm install\nnpm run build\n```\n\nAfter building the plugin, go to the _Plugins \u0026rarr; Installed Plugins_ screen in your WordPress admin panel to activate _Shiny Code_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedaro%2Fshiny-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedaro%2Fshiny-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedaro%2Fshiny-code/lists"}