How to use Markdown in Jupyter notebook#
Markdown is a language for text-formatting, it is used a lot, everywhere. F.e. on github in comments/issues/pull-requests, in jupyternootbooks, documentation online f.e. with myst or sphinx, readthedocs, anywhere you see a README.md file.
You can find syntax guides, cheatsheets and more all over the web. F.e. here: cheatsheet, basic syntax or here or here
Jupyter notebooks, also allow you tu directly use HTML language. If you open your notebook as a text file, you will see that it is just a JSON file and output
values of the cells you have executed is actually just bunch of HTML. Cheatsheets above have some HTML tips as well.
Here are for example, some pretty things you can use in your notebook:
Equations:#
We herby define a function $f(x)$ (in-line math is done by $f(x)$)
the following way:
$$f(x)=\frac{x-1}{x^2}$$
$$f(x)=\frac{x-1}{x^2}$$
Now let’s define the integrted number concentration $N_{\rm tot}$ (in-line math is done by $N_{\rm tot}$)
:
$$N_{\rm tot}=\int_{D_{min}}^{D_{max}}\frac{dN}{d\log D} d\log D \quad\quad\quad(1)$$
$$N_{\rm tot}=\int_{D_{min}}^{D_{max}}\frac{dN}{d\log D} d\log D \quad\quad\quad(1)$$
If you do not know MathJax/LaTeX syntax, search for cheatsheets on the web:
To add a local image:

or for an image on the web:

Figure 1: This is a view from Zeppelin Observatory.
Method#
Here I will describe my main methods.
Data description#
Column 1
Some text..
Column 2
Some text..
DMPS data#
import data.py