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.
It seems that the presence of a
viewofcell 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 :
I think that's because a
viewofcell is exported as two cells : one for the input and one for the value, thus breaking the cell counter.