Allows displaying the input prompt (execution count) for Notebook code cell.
Checklist
[ ] ran doit lint locally
References
Fixes #67
Code changes
a setting (showCodeCellPrompt) to enable or disable display of the prompt
a class (.jp-deck-showCodeCellPrompt) added to the panel, depending on the value of the setting
CSS that hides the prompt or not, depending on the class on the panel
If the panel do not have the class, prompt on all cells are not displayed: display: none.
If the panel have the class, prompt of code cell are displayed, and prompt of other cells are hidden (visibility: hidden), to keep left-align between cells.
Allows displaying the input prompt (execution count) for Notebook code cell.
Checklist
doit lint
locallyReferences
Fixes #67
Code changes
showCodeCellPrompt
) to enable or disable display of the prompt.jp-deck-showCodeCellPrompt
) added to the panel, depending on the value of the settingIf the panel do not have the class, prompt on all cells are not displayed:
display: none
. If the panel have the class, prompt of code cell are displayed, and prompt of other cells are hidden (visibility: hidden
), to keep left-align between cells.User-facing changes
Display the code cell prompt if expected.
Backwards-incompatible changes
None