{"id":15755294,"url":"https://github.com/tgymnich/pygmentspublishplugin","last_synced_at":"2025-06-25T08:36:48.201Z","repository":{"id":46311445,"uuid":"233239836","full_name":"tgymnich/PygmentsPublishPlugin","owner":"tgymnich","description":"🖍Syntax highlighting for Publish using pygments","archived":false,"fork":false,"pushed_at":"2024-02-01T23:30:24.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T08:16:12.493Z","etag":null,"topics":["publish","publish-plugin","pygments","swift","syntax-highlighting"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/tgymnich.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}},"created_at":"2020-01-11T13:55:06.000Z","updated_at":"2021-10-31T14:12:41.000Z","dependencies_parsed_at":"2024-10-04T08:31:17.049Z","dependency_job_id":null,"html_url":"https://github.com/tgymnich/PygmentsPublishPlugin","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/tgymnich/PygmentsPublishPlugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgymnich%2FPygmentsPublishPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgymnich%2FPygmentsPublishPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgymnich%2FPygmentsPublishPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgymnich%2FPygmentsPublishPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tgymnich","download_url":"https://codeload.github.com/tgymnich/PygmentsPublishPlugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgymnich%2FPygmentsPublishPlugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261836776,"owners_count":23217288,"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":["publish","publish-plugin","pygments","swift","syntax-highlighting"],"created_at":"2024-10-04T08:21:06.960Z","updated_at":"2025-06-25T08:36:48.182Z","avatar_url":"https://github.com/tgymnich.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PygmentsPublishPlugin\n\nA work in progress implemntation of a pygments plugin for use with [Publish](https://github.com/johnsundell/publish).\n\n# Install\n\nInstall pygments on your machine.\n```\npip3 install pygments\n```\n\nIn your Package.swift add:\n```swift\n.package(url: \"https://github.com/tgymnich/PygmentsPublishPlugin.git\", from: \"0.0.4\")\n```\n\n# Setup\n\nTo load the plugin simply add these lines:\n\n```swift\n\nimport PygmentsPublishPlugin\n\n...\n\ntry MyWebsite().publish(\n    ...\n    plugins: [.pygmentize(withClassPrefix: \"\")]\n])\n```\n\n# CSS\n\nYou'll also need to add some CSS. Check out these [examples](https://github.com/richleland/pygments-css)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgymnich%2Fpygmentspublishplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftgymnich%2Fpygmentspublishplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgymnich%2Fpygmentspublishplugin/lists"}