GithubHelp home page GithubHelp logo

kernel8liang / jupyter_themes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from merqurio/jupyter_themes

0.0 2.0 0.0 87 KB

A plugin to select syntax highlighting on Jupyter

License: MIT License

JavaScript 100.00%

jupyter_themes's Introduction

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:

# 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.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 Gabi de Maeztu

jupyter_themes's People

Contributors

merqurio avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.