# nbsstorytime


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Usage

### Installation

Install latest from the GitHub
[repository](https://github.com/chrphb/nbsstorytime):

``` sh
$ pip install git+https://github.com/chrphb/nbsstorytime.git
```

or from [pypi](https://pypi.org/project/nbsstorytime/)

``` sh
$ pip install nbsstorytime
```

### Documentation

Documentation can be found hosted on this GitHub
[repository](https://github.com/chrphb/nbsstorytime)’s
[pages](https://chrphb.github.io/nbsstorytime/). Additionally you can
find package manager specific guidelines on
[pypi](https://pypi.org/project/nbsstorytime/).

To learn more about the N4L semantic format, see [Mark Burgess’
SSToryTime](https://github.com/markburgess/SSTorytime)

## How to use

Just use a Jupyter notebook and edit your cells.

When you want to write some N4L notes, add a new cell of type **raw**
that begins with:

        #| n4l

At the end of your notebook, add a Python code cell:

        import nbsstorytime; nbsstorytime.nbsstorytime_export() 

This cell will export the content of all your N4L cells content into a
new file called with the same name as your notebook, but with a .n4l
extension”

<figure>
<video src="demo_jupyter_nbsstorytime.mp4" controls=""><a
href="demo_jupyter_nbsstorytime.mp4">demonstration</a></video>
<figcaption aria-hidden="true">demonstration</figcaption>
</figure>

- my notes \# you give it a title \# and you can leave comments to
  yourself.

Mostly you just write notes ” (e.g.) This is a simple example that
illustrates the line above

## Developer Guide

### Install nbsstorytime in Development mode

``` sh
# make sure nbsstorytime package is installed in development mode
$ pip install -e .

# make changes under nbs/ directory
# ...

# compile to have changes apply to nbsstorytime
$ nbdev_prepare
```
