Misc
Image Preview
You can drop any image available in the folder of your notebook and type its filename in a new cell.
randompic.png Reading and Writing Files
In principle, you can print the contents of any file located in the notebook's folder by typing its name without line breaks.
filename.txt For writing, the process is the same, but the actual content goes on the next line:
filename.txt
Hello World Shell
You can type commands directly into your system shell. The PATH is automatically imported from your terminal, and the working directory is set to NotebookDirectory[].
.sh
ls
LaTeX
There is a dedicated cell type solely to render LaTeX equations. You can still do it using Markdown, but if for some reason you have troubles mixing MD and TeX, here you go
.latex
\alpha^2 + \beta^2
This also does not require escaping TeX code with double slashes unlike other cell types.
Mermaid
Draw beautiful diagrams using code:
.mermaid
pie title NETFLIX
"Time spent looking for movie" : 90
"Time spent watching it" : 10
You can also apply custom styling:
.mermaid
%%{init: { 'theme': 'base', 'themeVariables': { 'primaryColor': '#ffcc00', 'edgeLabelBackground':'#ffffff', 'tertiaryColor': '#F0F0F0'}}}%%
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;