{"id":15638059,"url":"https://github.com/kasparsd/code-prettify","last_synced_at":"2025-04-14T12:33:57.164Z","repository":{"id":46187428,"uuid":"10239819","full_name":"kasparsd/code-prettify","owner":"kasparsd","description":"WordPress plugin for automatic code highlighting using the Prettify library. No shortcodes, no classnames, pure awesome.","archived":false,"fork":false,"pushed_at":"2023-03-19T19:53:38.000Z","size":1420,"stargazers_count":98,"open_issues_count":5,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T01:50:36.837Z","etag":null,"topics":["blogging","composer-package","prettify-library","syntax-highlighting","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/code-prettify","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/kasparsd.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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":"2013-05-23T08:59:49.000Z","updated_at":"2025-02-19T21:22:39.000Z","dependencies_parsed_at":"2024-10-23T04:31:58.379Z","dependency_job_id":null,"html_url":"https://github.com/kasparsd/code-prettify","commit_stats":{"total_commits":126,"total_committers":3,"mean_commits":42.0,"dds":"0.16666666666666663","last_synced_commit":"b4f62d6c3c0964d443f41f3aed8bdb153e830c1f"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasparsd%2Fcode-prettify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasparsd%2Fcode-prettify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasparsd%2Fcode-prettify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasparsd%2Fcode-prettify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kasparsd","download_url":"https://codeload.github.com/kasparsd/code-prettify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248881958,"owners_count":21176949,"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":["blogging","composer-package","prettify-library","syntax-highlighting","wordpress","wordpress-plugin"],"created_at":"2024-10-03T11:17:29.124Z","updated_at":"2025-04-14T12:33:57.118Z","avatar_url":"https://github.com/kasparsd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Prettify\n\nContributors: kasparsd   \nTags: code, pre, highlighting, highlight, highlighter, syntax, syntax highlighting, prettify   \nRequires at least: 3.0   \nTested up to: 6.1   \nStable tag: 1.5.1   \n\n100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, fully automatic and pure awesome.\n\n\n## Description\n\nUses a customized version of the [Code Prettify library](https://github.com/kasparsd/code-prettify-lib/pull/1) to support local styles and scripts. Plugin applies code highlighting automatically to all `\u003cpre\u003e` tags on the page.\n\n**Compatible with Gutenberg and doesn't lock you in with specific markup requirements.**\n\n### Development\n\nPlugin development [on GitHub](https://github.com/kasparsd/code-prettify).\n\n### Credits\n\nCreated and maintained by [Kaspars Dambis](https://kaspars.net). All of my open source work is available [on GitHub](https://github.com/kasparsd).\n\nUse Contact Form 7? [Storage for Contact Form 7](http://preseto.com/go/cf7-storage) is my commercial plugin (GPL license) for storing all form submissions in your WordPress database.\n\nCover photo by [Yuri Samoilov](https://www.flickr.com/photos/110751683@N02/13334080323/)\n\n\n## Installation\n\nSimply upload the plugin and active it. It works out of the box and doesn't have any configuration options.\n\n\n## Frequently Asked Questions\n\nNone, yet.\n\n\n## Screenshots\n\n1. Syntax highlighting applied to a `\u003cpre\u003e` block and inline `\u003ccode\u003e` segments.\n\n\n## Changelog\n\n### 1.5.1 (November 8, 2021)\n\n- Fix the deprecation notice for how the data is passed to the script.\n- Mark as tested with WordPress 5.8.\n\n### 1.5.0 (April 19, 2020)\n\n- Preload the `prettify.css` file for performance improvements.\n- Add WordPress coding standards checks.\n- Add support for Composer install.\n\n### 1.4.2 (January 14, 2019)\n\n- Switch to legacy PHP array syntax for better compatibility.\n\n### 1.4.1 (December 21, 2018)\n\n- Add a trailing semicolon to all JS files to support concatenation.\n\n### 1.4.0 (December 20, 2018)\n\n- Update the Prettify library.\n- Don't highlight standalone `\u003ccode\u003e` blocks without the `\u003cpre\u003e` wrapper.\n- Mark as tested with WordPress 5.0.\n\n### 1.3.4\n\n- Update the Prettify library.\n- Ensure that Prettify styles are applied to the contents of `\u003cpre\u003e` and `\u003ccode\u003e` elements.\n\n### 1.3.3\n\n- Update the Prettify library.\n- Highlight `\u003ccode\u003e` blocks too.\n\n### 1.0\n\n- Initial release.\n\n\n## Upgrade Notice\n\n### 1.0\n\nInitial release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasparsd%2Fcode-prettify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasparsd%2Fcode-prettify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasparsd%2Fcode-prettify/lists"}