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.7.tar.gz (318.2 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.7-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jupyterlab_git_syntax_extension-1.0.7.tar.gz
Algorithm Hash digest
SHA256 9d34e09ea2080e8730bc67d819a55aedcfc3912e9f58df2f6a0ac78c33561fef
MD5 d7d2ae794cf9b0a47dee9512af71f57a
BLAKE2b-256 431cb8a228db40563b1bc01b687873252fa950f14b18b0e23e2f4ebdd7eb21cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyterlab_git_syntax_extension-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2a051d348d7fad2581b08fef03496cead78ad6bc15cf416f8b313485fdd91271
MD5 531b9cb48c2cbf2e0a13c002cdd50550
BLAKE2b-256 6204011aab11ee3b8a07348c4c6f68d246b8d907559b76d204690fa5fe98bd86

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