{"id":18926069,"url":"https://github.com/getpagespeed/fast-code-prettify","last_synced_at":"2026-03-15T00:30:17.848Z","repository":{"id":134154134,"uuid":"106032055","full_name":"GetPageSpeed/fast-code-prettify","owner":"GetPageSpeed","description":"Wordpress plugin for highlighting source code using Google Prettify","archived":false,"fork":false,"pushed_at":"2024-06-10T12:22:29.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T18:30:14.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/GetPageSpeed.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":"2017-10-06T17:28:42.000Z","updated_at":"2024-06-10T12:22:32.000Z","dependencies_parsed_at":"2024-06-10T14:11:01.811Z","dependency_job_id":null,"html_url":"https://github.com/GetPageSpeed/fast-code-prettify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Ffast-code-prettify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Ffast-code-prettify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Ffast-code-prettify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Ffast-code-prettify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GetPageSpeed","download_url":"https://codeload.github.com/GetPageSpeed/fast-code-prettify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921837,"owners_count":19718844,"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-11-08T11:14:26.396Z","updated_at":"2026-03-15T00:30:17.791Z","avatar_url":"https://github.com/GetPageSpeed.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast Code Prettify\n\nThis super small Wordpress plugin ensures Google Prettify syntax for Jetpack Markdown \u0026 Fenced Code Blocks.\n\nIn a nutshell, it enables syntax highlighting of your Markdown code.\n\n* Updates JetPack's Markdown fenced blocks HTML to unified format:\n\n    ```html\n    \u003cpre class=\"prettyprint\"\u003e\u003ccode class=\"language-bash\"\u003e...\n    ```\n    From: \n    \n    ```html\n    \u003cpre\u003e\u003ccode class=\"bash\"\u003e...\n    ```\n    \n    Or:\n    \n    ```html\n    \u003cpre\u003e\u003ccode\u003e...\n    ```    \n    \n* Includes Google Prettify from CDNJS when needed, does so with ```async``` attribute of ```script``` tag.\n\n* Comes with no GUI for settings, very lightweight and does its thing to syntax highlight code!\n\n## Usage notes\n\n* JetPack fenced block Markdown is specified like this:\n\n\n        ```css\n        p.warning { color: red; }\n        ```\n\n* Defaults to ```bash``` when no language specified in fenced block. You can also use 4-spaces separated code blocks instead of backticks to highlight using default language.\n\n* You must include the prettify CSS to your theme's ```style.css```. It is too small to be dynamic. Also Wordpress doesn't have native way to dynamically include CSS without affecting performance.\n\n## Caveats\n\n* I will not make default language as a setting. I don't want to deal with silly Wordpress options mechanism and I don't want to have any database impact. The plugin is simple for efficiency. (Goodbye bloatware plugins)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetpagespeed%2Ffast-code-prettify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetpagespeed%2Ffast-code-prettify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetpagespeed%2Ffast-code-prettify/lists"}