tests/data/notebooks/outputs/ipynb_to_myst/ocaml_notebook.md
raw| 1 | --- |
| 2 | jupytext: |
| 3 | formats: ipynb:markdown,md:myst |
| 4 | kernelspec: |
| 5 | display_name: OCaml default |
| 6 | language: OCaml |
| 7 | name: ocaml-jupyter |
| 8 | --- |
| 9 | |
| 10 | # Example of an OCaml notebook |
| 11 | |
| 12 | ```{code-cell} OCaml |
| 13 | let sum x y = x + y |
| 14 | ``` |
| 15 | |
| 16 | Let's try our function: |
| 17 | |
| 18 | ```{code-cell} OCaml |
| 19 | sum 3 4 = 7 + 0 |
| 20 | ``` |