Skip to main content

Jupyterlab extension to add syntax highlighting to various git files such as gitmodules, gitignore etc

Project description

jupyterlab_git_syntax_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

[!TIP] This extension is part of the stellars_jupyterlab_extensions metapackage. Install all Stellars extensions at once: pip install stellars_jupyterlab_extensions

Syntax highlighting for git configuration files in JupyterLab. Open .gitignore, .gitmodules, .gitattributes, .gitconfig and other git files with proper syntax colouring instead of plain text.

Gitignore syntax highlighting in JupyterLab

Features

  • Gitignore highlighting - comments, negation patterns (!), glob wildcards (*, **, ?), character classes ([...]), path separators
  • Gitconfig / Gitmodules highlighting - INI-style section headers ([remote "origin"]), key-value pairs, booleans (true/false/yes/no/on/off), numbers with size suffixes, comments (#, ;), continuation lines
  • Gitattributes highlighting - file patterns, macro definitions ([attr]), set/unset/unspecify attributes, attribute values
  • Automatic file detection - files matched by name (.gitignore, .gitconfig, .gitmodules, .gitattributes) and extension
  • Icon-safe - registers only language support, does not override file type icons set by other extensions (e.g. jupyterlab_vscode_icons_extension)

Supported Files

Language Files MIME Type
Gitignore .gitignore text/x-gitignore
Git Config .gitconfig, .gitmodules, config text/x-gitconfig
Git Attributes .gitattributes text/x-gitattributes

Requirements

  • JupyterLab >= 4.0.0

Install

pip install jupyterlab_git_syntax_extension

Uninstall

pip uninstall jupyterlab_git_syntax_extension

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_git_syntax_extension-1.0.6.tar.gz (317.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_git_syntax_extension-1.0.6-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_git_syntax_extension-1.0.6.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_git_syntax_extension-1.0.6.tar.gz
Algorithm Hash digest
SHA256 30775dcea141bd313fb6783e3a5a333783e1b4fe43394376e292a34d6e7b8bba
MD5 0cd989e5cbf2d552ac7810cda95cd6b5
BLAKE2b-256 23024857cd9cac3f3da4444d566533b7448de72627b5e161ffd7c2339e7046aa

See more details on using hashes here.

File details

Details for the file jupyterlab_git_syntax_extension-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_git_syntax_extension-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 00529a15bbdf71b3fde8a7bc9f81ce953754764c3607e1b5f7f2a437bdd34ce0
MD5 d579dd22325106a8b0ba17ed3f9c7db1
BLAKE2b-256 2f3adadfd7ef3bf094d5148ae492291b4fec16061f6c9ce3d1c923790a8a4e1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page