I am currently creating a robotics course on The Construct, and I am facing an issue in the Jupyter Notebook formatting.
My course (Jupyter notebook) includes a lot of bash shell commands (as well as generated output). I would like to put it in a form that it cannot confuse the student.
So far I put everything in between the triple quotes but I noticed that some courses had a nicer syntax.
From the Linux for robotics course, I could see this:
I looked for Markdown and HTML ways to do so (the “Execute in Shell” as well as the “Shell output”) but couldn’t find a way.
How can I reproduce such syntax in my Rosject?
Bonus question: How can I have numbered headers like in the Linux for robotics course? Is it possible to get access to the source of the Jupyter notebook of other courses to figure out how certain syntax were made?