{"id":22559579,"url":"https://github.com/rzk-lang/pygments-rzk","last_synced_at":"2025-10-06T03:12:23.882Z","repository":{"id":177321632,"uuid":"660219117","full_name":"rzk-lang/pygments-rzk","owner":"rzk-lang","description":"Pygments highlighter for Rzk language (proof assistant for synthetic ∞-categories).","archived":false,"fork":false,"pushed_at":"2023-09-07T15:56:49.000Z","size":332,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-06T01:39:02.954Z","etag":null,"topics":["pygments","pygments-lexer"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pygments-rzk/","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/rzk-lang.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":"2023-06-29T14:06:18.000Z","updated_at":"2023-07-09T19:05:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8fe2aa5-d4dc-4a2b-8ecf-bc937049f47d","html_url":"https://github.com/rzk-lang/pygments-rzk","commit_stats":null,"previous_names":["fizruk/pygments-rzk","rzk-lang/pygments-rzk"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rzk-lang/pygments-rzk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzk-lang%2Fpygments-rzk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzk-lang%2Fpygments-rzk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzk-lang%2Fpygments-rzk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzk-lang%2Fpygments-rzk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rzk-lang","download_url":"https://codeload.github.com/rzk-lang/pygments-rzk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzk-lang%2Fpygments-rzk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278551689,"owners_count":26005426,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","pygments-lexer"],"created_at":"2024-12-07T21:07:29.763Z","updated_at":"2025-10-06T03:12:23.844Z","avatar_url":"https://github.com/rzk-lang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pygments higlighter for Rzk\n\nThis is a simple [Pygments](https://pygments.org) higlighter for [Rzk](https://github.com/rzk-lang/rzk), which can be used with [`minted` package](https://www.ctan.org/pkg/minted) when writing rzk code in LaTeX or with [MkDocs](https://www.mkdocs.org) to highlight code in blocks when rendering literate Rzk Markdown files.\n\n## How to use\n\n### Install\n\nClone this repository, and install the highlighter using [`pip` installer](https://pip.pypa.io/en/stable/):\n\n```sh\ngit clone https://github.com/rzk-lang/pygments-rzk.git\ncd pygments-rzk   # enter repository root\npip install .     # install using pip\n```\n\n### Use in MkDocs\n\nTo be done.\n\n### Use in LaTeX (via `minted`)\n\nIn your LaTeX document:\n\n1. Include `minted` package:\n\n```tex\n\\package{minted}\n```\n\n2. Use `minted` environment with `rzk` language, for example:\n\n```tex\n\\begin{frame}[fragile]\n  \\frametitle{\\textsc{Rzk} highlighting in LaTeX with \\texttt{minted}}\n\nA basic example:\n\n\\tiny\n\\begin{minted}[linenos,frame=leftline,mathescape]{rzk}\n#lang rzk-1\n\n#section path-algebra\n\n#variable A : U\n#variables x y z : A\n\n-- path reversal\n#define rev uses (A x y)\n  (p : x = y)       -- A path from x to y in A.\n  : y = x           -- The reversal will be defined by path induction on p.\n  := idJ(A, x, \\y' p' -\u003e y' = x, refl, y, p)\n\n-- path composition by induction on the second path\n#define concat\n  (p : x = y)       -- A path from x to y in A.\n  (q : y = z)       -- A path from y to z in A.\n  : (x = z)\n  := idJ(A, y, \\z' q' -\u003e (x = z'), p, z, q)\n\n#end path-algebra\n\\end{minted}\n\n\\end{frame}\n```\n\n![Rendering rzk code in LaTeX (demo).](images/latex-highlighting-demo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frzk-lang%2Fpygments-rzk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frzk-lang%2Fpygments-rzk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frzk-lang%2Fpygments-rzk/lists"}