Skip to content

Commit

Permalink
Change fizruk to rzk-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Jul 10, 2023
1 parent 37cf840 commit 12530d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pygments higlighter for Rzk

This is a simple [Pygments](https://pygments.org) higlighter for [Rzk](https://github.com/fizruk/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.
This 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.

## How to use

Expand All @@ -9,7 +9,7 @@ This is a simple [Pygments](https://pygments.org) higlighter for [Rzk](https://g
Clone this repository, and install the highlighter using [`pip` installer](https://pip.pypa.io/en/stable/):

```sh
git clone https://github.com/fizruk/pygments-rzk.git
git clone https://github.com/rzk-lang/pygments-rzk.git
cd pygments-rzk # enter repository root
pip install . # install using pip
```
Expand Down Expand Up @@ -52,7 +52,7 @@ A basic example:
:= idJ(A, x, \y' p' -> y' = x, refl, y, p)
-- path composition by induction on the second path
#define concat
#define concat
(p : x = y) -- A path from x to y in A.
(q : y = z) -- A path from y to z in A.
: (x = z)
Expand Down
2 changes: 1 addition & 1 deletion pygments_rzk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RzkLexer(pygments.lexer.RegexLexer):
name = 'Rzk'
aliases = ['rzk']
filenames = ['*.rzk']
url = 'https://github.com/fizruk/rzk'
url = 'https://github.com/rzk-lang/rzk'
KEYWORDS = [] # ['as', 'uses']
def get_tokens_unprocessed(self, text):
for index, token, value in super(RzkLexer,self).get_tokens_unprocessed(text):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
author='Nikolai Kudasov',
author_email='[email protected]',

url='https://github.com/fizruk/pygments-rzk',
url='https://github.com/rzk-lang/pygments-rzk',

packages=find_packages(),
install_requires=['pygments >= 1.4'],
Expand Down

0 comments on commit 12530d8

Please sign in to comment.