Skip to content

yanyingwang/rainbow-delimiters

Repository files navigation

Rainbow Delimiters

A web browser plugin to colorize the matched brackets of source code on HTML pages of your browser, it is especially useful for viewing source code of a Lisp-family dialect language.

Install

  1. Chorme: Open chrome://extensions/ and enable the developer mode, and then, click to load the directory of this repo.
  2. Firefox: Directly click this link and install it.

Appearance when this plugin is administering:

github-com-racket-lang

Explanation

Currently, this plugin will only be automatically enabled for links of websites below:

  1. https://docs.racket-lang.org/*
  2. file:///Applications/Racket v*/* (<= when you view racket doc with raco doc cmd.)
  3. http://github.com/*
  4. https://stackoverflow.com/*

TODOs

  • 1. () [] {} using the same depth loop.
  • 2. racket-color renamed with racket-depth.
  • 3. test it to work with gitlab, stackoverflow.
  • 4. a way to be enabled for an unautomically enabled website.
  • 5. make bracket colors customizable.
  • 6. only highlight matched bracket of current hovered bracket instead of showing all the same level depth brackets.
  • 7. support https://*.wikipedia.org/** pre div

dev building to publish browser plugin

zip -r -FS ../rainbow-delimiters.zip * --exclude '*.git*' '.*' '*__MACOSX/*' 'images-back*'  'LICENSE' 'screenshot/*' '*.DS_Store'
cd .. && tar -czvf rainbow-delimiters.tar.gz rainbow-delimiters

About

A web browser plugin to colorize the matched brackets of source code on HTML pages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published