{"id":17080558,"url":"https://github.com/kylef/pygments-apiblueprint","last_synced_at":"2025-04-12T20:44:12.855Z","repository":{"id":62580689,"uuid":"90781952","full_name":"kylef/pygments-apiblueprint","owner":"kylef","description":"An API Blueprint Lexer for Pygments","archived":false,"fork":false,"pushed_at":"2020-04-09T22:22:15.000Z","size":100,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T03:06:20.620Z","etag":null,"topics":["api-blueprint"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylef.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-05-09T19:01:56.000Z","updated_at":"2020-07-15T21:38:13.000Z","dependencies_parsed_at":"2022-11-03T20:50:01.309Z","dependency_job_id":null,"html_url":"https://github.com/kylef/pygments-apiblueprint","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef%2Fpygments-apiblueprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef%2Fpygments-apiblueprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef%2Fpygments-apiblueprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef%2Fpygments-apiblueprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylef","download_url":"https://codeload.github.com/kylef/pygments-apiblueprint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631687,"owners_count":21136556,"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":["api-blueprint"],"created_at":"2024-10-14T12:45:34.952Z","updated_at":"2025-04-12T20:44:12.834Z","avatar_url":"https://github.com/kylef.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pygments API Blueprint\n\n## Installation\n\n```shell\n$ pip install pygments-apiblueprint\n```\n\n## Usage\n\nOnce installed, the Pygments API Blueprint lexer is instantly available to\nPygments.\n\n```python\nfrom pygments import highlight\nfrom pygments.formatters import HtmlFormatter\nfrom pygments_apiblueprint import APIBlueprintLexer\n\nsource = '''\n# GET /\n\n+ Response 200 (application/json)\n    + Attributes\n        + name: `pygments-apiblueprint`\n'''\n\nlexer = APIBlueprintLexer()\nformatter = HtmlFormatter(linenos='table', cssclass='highlight')\nresult = highlight(source, lexer, formatter)\n\nprint(result)\n```\n\n## Example\n\n![](pygments_apiblueprint.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylef%2Fpygments-apiblueprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylef%2Fpygments-apiblueprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylef%2Fpygments-apiblueprint/lists"}