sasjupyter-notebooksaspy

collapse all code cells by default (sas kernel)


I am aware of this but I have to use the sas kernel. This means that the suggested JavaScript to collapse all code cells by default does not work. How can I collaps all code cells and just show MarkDown and outputs/graphs/tables?


Solution

  • I was able to get it to work with Jupyter in SAS UE with the SAS kernel.

    So I created a cell, with type = Raw NBConvert and then in the cell selected HTML.

    Then I added a few test cells with SAS code.

    Then I went to Print Preview and there's a button at the top that shows the outputs with the code nodes collapsed (invisible actually) and then you can press the button to have them appear.