Jupyterlab extension to add syntax highlighting to various git files such as gitmodules, gitignore etc
Project description
jupyterlab_git_syntax_extension
[!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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyterlab_git_syntax_extension-1.0.7.tar.gz.
File metadata
- Download URL: jupyterlab_git_syntax_extension-1.0.7.tar.gz
- Upload date:
- Size: 318.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d34e09ea2080e8730bc67d819a55aedcfc3912e9f58df2f6a0ac78c33561fef
|
|
| MD5 |
d7d2ae794cf9b0a47dee9512af71f57a
|
|
| BLAKE2b-256 |
431cb8a228db40563b1bc01b687873252fa950f14b18b0e23e2f4ebdd7eb21cb
|
File details
Details for the file jupyterlab_git_syntax_extension-1.0.7-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_git_syntax_extension-1.0.7-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a051d348d7fad2581b08fef03496cead78ad6bc15cf416f8b313485fdd91271
|
|
| MD5 |
531b9cb48c2cbf2e0a13c002cdd50550
|
|
| BLAKE2b-256 |
6204011aab11ee3b8a07348c4c6f68d246b8d907559b76d204690fa5fe98bd86
|