|
5 | 5 | "id": "028448b2", |
6 | 6 | "metadata": {}, |
7 | 7 | "source": [ |
8 | | - "# How to use Markdown in Jupyter notebook" |
| 8 | + "# How to use Markdown in Jupyter notebook\n", |
| 9 | + "<!-- code below is just to render mathjax on the doc-pages-->\n", |
| 10 | + "<script type=\"text/javascript\" id=\"MathJax-script\" async\n", |
| 11 | + " src=\"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js\">\n", |
| 12 | + "</script>\n", |
| 13 | + "<script type=\"text/x-mathjax-config\">\n", |
| 14 | + " MathJax.Hub.Config({\n", |
| 15 | + " tex2jax: {\n", |
| 16 | + " inlineMath: [ ['$','$'], [\"\\\\(\",\"\\\\)\"] ],\n", |
| 17 | + " processEscapes: true\n", |
| 18 | + " }\n", |
| 19 | + " });\n", |
| 20 | + "</script>\n", |
| 21 | + " \n", |
| 22 | + "<script type=\"text/javascript\"\n", |
| 23 | + " src=\"https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML\">\n", |
| 24 | + "</script>" |
9 | 25 | ] |
10 | 26 | }, |
11 | 27 | { |
|
44 | 60 | "id": "1b122974", |
45 | 61 | "metadata": {}, |
46 | 62 | "source": [ |
47 | | - "We herby define a function $f(x)$ the following way:\n", |
| 63 | + "## Equations:\n", |
| 64 | + "\n", |
| 65 | + "We herby define a function $f(x)$ `(in-line math is done by $f(x)$)`the following way:\n", |
48 | 66 | "```md\n", |
49 | 67 | "$$f(x)=\\frac{x-1}{x^2}$$\n", |
50 | 68 | "```\n", |
|
57 | 75 | "id": "c8b9bfac", |
58 | 76 | "metadata": {}, |
59 | 77 | "source": [ |
60 | | - "Now let's define the integrted number concentration $N_{\\rm tot}$:\n", |
| 78 | + "Now let's define the integrted number concentration $N_{\\rm tot}$ `(in-line math is done by $N_{\\rm tot}$)`:\n", |
61 | 79 | "```md\n", |
62 | 80 | "$$N_{\\rm tot}=\\int_{D_{min}}^{D_{max}}\\frac{dN}{d\\log D} d\\log D \\quad\\quad\\quad(1)$$\n", |
63 | 81 | "```\n", |
64 | 82 | "\n", |
65 | | - "$N_{\\rm tot}=\\int_{D_{min}}^{D_{max}}\\frac{dN}{d\\log D} d\\log D \\quad\\quad\\quad(1)$" |
| 83 | + "$$N_{\\rm tot}=\\int_{D_{min}}^{D_{max}}\\frac{dN}{d\\log D} d\\log D \\quad\\quad\\quad(1)$$" |
66 | 84 | ] |
67 | 85 | }, |
68 | 86 | { |
|
82 | 100 | "id": "9867454d", |
83 | 101 | "metadata": {}, |
84 | 102 | "source": [ |
85 | | - "<img src=\"Zeppelin.jpg\" alt=\"Alt text that describes the graphic\" title=\"Title text\" />" |
| 103 | + "To add a local image:\n", |
| 104 | + "\n", |
| 105 | + "```md\n", |
| 106 | + " \n", |
| 107 | + "```\n", |
| 108 | + "\n", |
| 109 | + "\n" |
86 | 110 | ] |
87 | 111 | }, |
88 | 112 | { |
|
0 commit comments