0

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?

cs0815
  • 16,751
  • 45
  • 136
  • 299

1 Answers1

1

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.

Reeza
  • 20,510
  • 4
  • 21
  • 38
  • Sorry how do you select HTML when you create a Raw NBConvert cell? – cs0815 May 20 '18 at 13:42
  • 1
    Actually it works OOTB ignore me. Btw. I am using: options nonotes; However SAS still writes a few things. Can I totally suppress this? Thanks. – cs0815 May 20 '18 at 13:45
  • IME Jupyter notebooks don’t show the log. You can control the tables and such with ODS SELECT or ODS EXCLUDE. – Reeza May 20 '18 at 18:26