Files
superqt/docs/utils.md
Grzegorz Bokota 0ae3350c57 Add code syntax highlight utils (#88)
* add code syntax highlight code

* add example

* add documentation and fix example

* add tests

* add information about napari theme usage

* clean napari mention
2022-05-18 16:50:51 -04:00

406 B

Utils

Code highlighting

superqt provides a code highlighter subclass of QSyntaxHighlighter that can be used to highlight code in a QTextEdit.

Code lexer and available styles are from pygments python library List of available languages are available here. List of available styles are available here.