{"id":17115990,"url":"https://github.com/schweinepriester/wp-pygments","last_synced_at":"2026-05-16T11:31:25.933Z","repository":{"id":74176688,"uuid":"121888377","full_name":"Schweinepriester/WP-Pygments","owner":"Schweinepriester","description":"Plug the Python syntax highlighter Pygments into WordPress to turn every \u003cpre\u003e\u003ccode\u003e into highlighted code server-side, no JavaScript required!","archived":false,"fork":false,"pushed_at":"2021-04-12T03:22:35.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-29T14:32:48.027Z","etag":null,"topics":["pygments","server-side","syntax-highlighting","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/Schweinepriester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-02-17T20:07:07.000Z","updated_at":"2024-09-28T21:42:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae7ff77e-79dc-4224-a529-5ff9833882d7","html_url":"https://github.com/Schweinepriester/WP-Pygments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Schweinepriester/WP-Pygments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schweinepriester%2FWP-Pygments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schweinepriester%2FWP-Pygments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schweinepriester%2FWP-Pygments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schweinepriester%2FWP-Pygments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Schweinepriester","download_url":"https://codeload.github.com/Schweinepriester/WP-Pygments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schweinepriester%2FWP-Pygments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["pygments","server-side","syntax-highlighting","wordpress","wordpress-plugin"],"created_at":"2024-10-14T17:47:30.750Z","updated_at":"2026-05-16T11:31:25.921Z","avatar_url":"https://github.com/Schweinepriester.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP-Pygments\n\nPlug the Python syntax highlighter [Pygments](https://pygments.org/) into\nWordPress to turn every `\u003cpre\u003e\u003ccode\u003e` into highlighted code server-side, \nno JavaScript required!\n\nOriginally created by [@wellingguzman](https://github.com/wellingguzman), this repo was a fork.  \nMIT license and continuation of the plugin with [permission](https://twitter.com/wellingguzman/status/1381198380584558594).\n\n# THIS IS JUST A SIMPLE PLUGIN, NOT HIGHLY TESTED, USE IT AT YOUR OWN RISK\n\n## Tutorial\n\nYou can read the tutorial here \u003chttp://davidwalsh.name/pygments-php-wordpress\u003e, not on how to use it, but how [@wellingguzman](https://github.com/wellingguzman) wrote it.\n\n## How to use it\n\n1. Copy `WP-Pygments` into your plugins directory in WordPress\n2. Head to `wp-admin/plugins.php` and activate `WP Pygments`\n3. Now every `\u003cpre\u003e\u003ccode\u003e` you have in your post/page content would turn into pygments highlighted code\n\nEx:\n\n```html\n\u003cpre class=\"php\"\u003e\n\u003ccode\u003e\n  \u003c?php\n    function hello( $name ) {\n      return 'Hello, ' . $name;\n    }\n\n    echo hello( 'Mundo' );\n  ?\u003e\n\u003c/code\u003e\n\u003c/pre\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschweinepriester%2Fwp-pygments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschweinepriester%2Fwp-pygments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschweinepriester%2Fwp-pygments/lists"}