{"id":23194154,"url":"https://github.com/glaucocustodio/pygment-it","last_synced_at":"2025-10-25T11:32:17.029Z","repository":{"id":15146983,"uuid":"17874412","full_name":"glaucocustodio/pygment-it","owner":"glaucocustodio","description":"A WordPress plugin for syntax highlighting using Pygments","archived":false,"fork":false,"pushed_at":"2014-09-27T15:06:33.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-18T13:13:18.046Z","etag":null,"topics":["pygments","syntax-highlighting","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/glaucocustodio.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}},"created_at":"2014-03-18T17:07:41.000Z","updated_at":"2014-09-27T15:05:01.000Z","dependencies_parsed_at":"2022-08-25T10:01:51.285Z","dependency_job_id":null,"html_url":"https://github.com/glaucocustodio/pygment-it","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaucocustodio%2Fpygment-it","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaucocustodio%2Fpygment-it/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaucocustodio%2Fpygment-it/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaucocustodio%2Fpygment-it/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glaucocustodio","download_url":"https://codeload.github.com/glaucocustodio/pygment-it/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238134502,"owners_count":19422071,"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":["pygments","syntax-highlighting","wordpress-plugin"],"created_at":"2024-12-18T13:13:19.633Z","updated_at":"2025-10-25T11:32:16.677Z","avatar_url":"https://github.com/glaucocustodio.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pygment It\n==========\n\nA WordPress plugin for syntax highlighting using \u003ca href=\"http://pygments.org/\" target=\"_blank\"\u003ePygments\u003c/a\u003e, though Pygments is not required to be installed.\n\nBy default, Pygment It will auto discover if Pygments is installed (through `command -v pygmentize`). If not, it will use \u003ca href=\"http://pygments.appspot.com\" target=\"_blank\"\u003ehttp://pygments.appspot.com\u003c/a\u003e to highlight code (but without support for: highlighted lines, line numbers and line number to start).\n\nCheck out in \u003ca href=\"http://wordpress.org/plugins/pygment-it/\" target=\"_blank\"\u003eWordPress Plugin Directory\u003c/a\u003e. Did you like it? Rate and star it!\n\nNote: this plugin is an improved version\n\u003ca href=\"https://bitbucket.org/jsturgill/pygments-for-wordpress\" target=\"_blank\"\u003ethis\u003c/a\u003e.\n\n## Features\n\n* Syntax-highlighted code cached as post metadata\n* Admin panel to choose theme, default language and Pygments usage (local, external API or auto discover)\n* Multiple themes available (github, monokai, railscasts, mustang, among others..)\n* Support for `hl_lines` (highlighted lines), `linenos` (line numbers) and `linenostart` (line number to start) when using a local installation of Pygments\n\n## Installation\n  1. Clone this repo or upload its content to `/wp-content/plugins/` directory\n  2. Activate the plugin through the 'Plugins' menu in WordPress\n\n## Usage\n\nThrough `code` shortcode.\n\n##### Using default language set in admin:\n    [code]\n      # code here\n    [/code]\n\n##### Choosing language (all supported languages can be found \u003ca href=\"http://pygments.org/languages/\" target=\"_blank\"\u003ehere\u003c/a\u003e):\n    [code language=\"ruby\"]\n      # Ruby language syntax highlighting\n    [/code]\n    \n##### Highlighting lines 2 and 3:  \n    [code language=\"ruby\" hl_lines=\"2 3\"]\n      class PagesController \u003c ApplicationController\n        def index\n        end      \n      end\n    [/code]\n    \n##### Displaying lines, starting with 20:\n    [code linenos=\"table\" linenostart=\"20\"]\n      # code here\n    [/code]\n    \n## License\nThis projected is licensed under the terms of the MIT license.\n    \n\u003ca href='https://pledgie.com/campaigns/26327'\u003e\u003cimg alt='Click here to lend your support to: Pygment It and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/26327.png?skin_name=chrome' border='0' \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglaucocustodio%2Fpygment-it","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglaucocustodio%2Fpygment-it","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglaucocustodio%2Fpygment-it/lists"}