Skip to content

Commit

Permalink
Merge pull request #189 from MSeal/cellIdProposal
Browse files Browse the repository at this point in the history
Cell ID JEP Implementation
  • Loading branch information
willingc committed Dec 1, 2020
2 parents 0ba4ea5 + 3b0abec commit e7e16bd
Show file tree
Hide file tree
Showing 20 changed files with 5,994 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.

0 comments on commit e7e16bd

Please sign in to comment.