Skip to content

Commit

Permalink
Implemented CellIds from JEP-62
Browse files Browse the repository at this point in the history
  • Loading branch information
MSeal committed Oct 10, 2020
1 parent 23272c1 commit 9ede360
Show file tree
Hide file tree
Showing 20 changed files with 5,992 additions and 28 deletions.
14 changes: 14 additions & 0 deletions docs/format_description.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,20 @@ keyed by filename that represents the files attached to the cell.
}


Cell ids
--------

Since the 4.5 schema release, all cells have an ``id`` field which must be a string of length
1-64 with alphanumeric, `-`, and `_` as legal characters to use. These ids must be unique to
any given Notebook following the nbformat spec.

The full rules and guidelines for using cells ids is captured in the corresponding
`JEP Proposal <https://github.com/jupyter/enhancement-proposals/blob/master/62-cell-id/cell-id.md>`_.

If attempting to add similiar support to other languages supporting notebooks specs, this
`Example PR <https://github.com/jupyter/nbformat/pull/189>`_ can be used as a reference to follow.


Backward-compatible changes
===========================

Expand Down
Empty file added nbformat/corpus/__init__.py
Empty file.
Loading

0 comments on commit 9ede360

Please sign in to comment.