If cells had ids,
This would be very helpful. If the next major revision of nbformat is JSON-LD, these ids could be the @id
for the e.g. nbformat:InputCell
< schema:CreativeWork
.
This says comments are stored in a comments.db
which presumably needs to be merged separately?
It’s likely possible to run a private instance of hypothesis/h with ideonate/jhsingle-native-proxy or ihenry42/jupyter_wsgi, but IDK how to handle spam or moderation; integration with JupyterHub authenticators would be cool.
IIUC, with the durable ID @judell describes in Add unique ID to the notebook metadata · Issue #148 · jupyter/nbformat · GitHub , any central hypothesis WebAnnotation server could host comments / annotations / highlights on HTML renders of Jupyter notebooks.
When would the UUID need to be changed?
- When copying a notebook
- When creating a notebook from a template (~copying)
- When nbgrader copies from a template
What sort of UI does this need?
- “Generate new UUID” > “Confirm?” (maybe in the metadata editor?)