A plugin to select syntax highlighting on Jupyter
Last updated Jun 1, 2026
161
Stars
24
Forks
2
Issues
0
Stars/day
Attention Score
48
Language breakdown
No language data available.
▸ Files
click to expand
README
Jupyter themes
Modify CodeMirror's Color Syntax.

This Jupyter Notebook Extension let's you select the code syntax highlighting. The selected theme is stored in notebooks config file so every time you open a notebook it will automatically load the theme you selected the last time.
Installation:
# Create required directory in case (optional)
$ mkdir -p $(jupyter --data-dir)/nbextensions
$ cd $(jupyter --data-dir)/nbextensions
$ mkdir jupyterthemes && cd jupyterthemes
$ wget https://raw.githubusercontent.com/merqurio/jupyterthemes/master/themeselector.js
Activate the extension
$ cd ../ && jupyter nbextension enable jupyterthemes/themeselector
Usage:
Find your preferred theme and font at Cell's menu.
Changelog =========
NEW in 0.4.1
- JupyterHub support (thanks @dlukes)
NEW in 0.3.0
- Adds Font modification
- Adds line number toggle
NEW IN 0.2.0
- Uses CodeMirrors own api & themes
License
The MIT License (MIT) | See LICENSE.md
Copyright (c) 2015, 2016, 2017 Gabi de Maeztu, David Lukes
🔗 More in this category