Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/merqurio/jupyter_themes

A plugin to select syntax highlighting on Jupyter
https://github.com/merqurio/jupyter_themes

font jupyter jupyter-themes notebook syntax-highlighting theme

Last synced: about 2 months ago
JSON representation

A plugin to select syntax highlighting on Jupyter

Awesome Lists containing this project

README

        

# Jupyter themes

Modify CodeMirror's Color Syntax.

preview1
preview2

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:

```shell
# Create required directory in case (optional)
$ mkdir -p $(jupyter --data-dir)/nbextensions
$ cd $(jupyter --data-dir)/nbextensions
$ mkdir jupyter_themes && cd jupyter_themes
$ wget https://raw.githubusercontent.com/merqurio/jupyter_themes/master/theme_selector.js
# Activate the extension
$ cd ../ && jupyter nbextension enable jupyter_themes/theme_selector
```

### Usage:
Find your preferred theme and font at Cell's menu.

screen shot 2016-03-27 at 06 09 53

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