<jupyter_start><jupyter_text>Table of Contents1&nbsp;&nbsp;Demo of RISE for slides with Jupyter notebooks (Python)1.1&nbsp;&nbsp;Title 21.1.1&nbsp;&nbsp;Title 31.1.1.1&nbsp;&nbsp;Title 41.2&nbsp;&nbsp;Text1.3&nbsp;&nbsp;Maths1.4&nbsp;&nbsp;And code2&nbsp;&nbsp;More demo of Markdown code2.1&nbsp;&nbsp;Lists2.1.0.1&nbsp;&nbsp;Images2.1.0.2&nbsp;&nbsp;And Markdown can include raw HTML3&nbsp;&nbsp;End of this demo  Demo of RISE for slides with Jupyter notebooks (Python)- This document is an example of a slideshow, written in a [Jupyter notebook](https://www.jupyter.org/) with the [RISE extension](https://github.com/damianavila/RISE).> By [<NAME>](http://perso.crans.org/besson/), Sept.2017. --- Title 2 Title 3 Title 4 Title 5 Title 6  TextWith text, *emphasis*, **bold**, ~~striked~~, `inline code` and> *Quote.*>> -- By a guy.  MathsWith inline math $\sin(x)^2 + \cos(x)^2 = 1$ and equations:$$\sin(x)^2 + \cos(x)^2 = \left(\frac{\mathrm{e}^{ix} - \mathrm{e}^{-ix}}{2i}\right)^2 + \left(\frac{\mathrm{e}^{ix} + \mathrm{e}^{-ix}}{2}\right)^2 = \frac{-\mathrm{e}^{2ix}-\mathrm{e}^{-2ix}+2 \; ++\mathrm{e}^{2ix}+\mathrm{e}^{-2ix}+2}{4} = 1.$$  And codeIn Markdown:```pythonSys.command "ocaml -version";;```And in a executable cell (with OCaml 4.04.2 kernel) :<jupyter_code>Sys.command "ocaml -version";;<jupyter_output>The OCaml toplevel, version 4.05.0<jupyter_text>More demo of Markdown code  Lists- Unordered- lists- are easy.And1. and ordered also ! Just2. start lines by `1.`, `2.` etc3. or simply `1.`, `1.`, ...  ImagesWith a HTML `` tag or the `![alt](url)` Markdown code:![agreg/images/dooku.jpg](agreg/images/dooku.jpg) Avec [l'ancienne API de ocaml-jupyter](https://akabe.github.io/ocaml-jupyter/notebook/JupyterNotebook.html) (pré 2020) :<jupyter_code>#thread ;;
#require "jupyter.notebook" ;;
(* https://akabe.github.io/ocaml-jupyter/notebook/JupyterNotebook.html *)

let youtube_video url = JupyterNotebook.display "text/html"
    (Printf.sprintf "<iframe width=560 height=315 src='%s'></iframe>" url)
;;<jupyter_output><empty_output><jupyter_text>Avec [la nouvelle API de ocaml-jupyter](https://akabe.github.io/ocaml-jupyter/api/jupyter/Jupyter_notebook/) (après 2020) :<jupyter_code>#thread ;;
#require "jupyter" ;;
#require "jupyter.notebook" ;;
(* https://akabe.github.io/ocaml-jupyter/api/jupyter/Jupyter_notebook/ *)

let youtube_video url = Jupyter_notebook.display "text/html"
    (Printf.sprintf "<iframe width=560 height=315 src='%s'></iframe>" url)
;;<jupyter_output><empty_output><jupyter_text>And Markdown can include raw HTMLThis is a centered span, colored in green.Iframes are disabled by default, but by using the IPython internals we can include let say a YouTube video:<jupyter_code>youtube_video "https://www.youtube.com/embed/FNg5_2UUCNU";;<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18233618233618235, 'fraction_numerical': 0.03347578347578348, 'mean_word_length': 5.640661938534279, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 25, 'https://': 7, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 3, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '301352', 'license': 'MIT', 'n_tokens_mistral': 1132, 'n_tokens_neox': 1068, 'n_words': 225, 'path': 'Demo_of_RISE_for_slides_with_Jupyter_notebooks__OCaml.ipynb', 'repo_name': 'Soley02/new_notebooks', 'size': '2815'}