Skip to content

Problem with cell number in presence of viewof cell #29

Description

@juba

It seems that the presence of a viewof cell breaks the cells numbering used to display unnamed cells.

For example in the following test notebook :

https://observablehq.com/d/9351a542d6f01f6d

The cell "second unnamed cell" should be number 3, but to display it we have to pass 4 to include :

robservable(
  "https://observablehq.com/d/9351a542d6f01f6d",
  include = 4
)

I think that's because a viewof cell is exported as two cells : one for the input and one for the value, thus breaking the cell counter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions