Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.05 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.05 KB

raw-button

A Jupyter Notebook extension for adding a GitHub-like "Raw" button to the filetree. Although, @captainsafia made this extension, it would not have been possible without the project's PokeMon sponsor, Marshtop.

Marshtomp

Installation

  1. Run pip install raw-button to install the extension.
  2. Symlink the extension assets to your Jupyter installation using the following command.
ln -s $(python -c "import os; print(os.path.join(os.path.dirname(__import__('raw-button').__file__), 'amd'))") $(ipython locate)/raw-button
  1. Create a new folder called static inside $(ipython locate)/profile_default.
  2. Create a new folder inside static called custom.
  3. Create a new file inside custom titled custom.js.
  4. Place the following inside custom.js.
Jupyter.utils.load_extensions("raw-button/raw-button");

And that's it! Run jupyter notebook at the command line and enjoy your new feature!

Usage Screencast

Raw Button Usage Screencast