A few more fixes for OCaml code snippets (related: #277). The problem is that we don't have automatic wrapping for OCaml comments when render them in LaTeX. So we have to set new lines manually.
I found this while reading chapter 8, then I created a small script, which finds similar cases among all code snippets.
A few more fixes for OCaml code snippets (related: #277). The problem is that we don't have automatic wrapping for OCaml comments when render them in LaTeX. So we have to set new lines manually.
I found this while reading chapter 8, then I created a small script, which finds similar cases among all code snippets.
Screenshots (before / after)
![image](https://user-images.githubusercontent.com/12023585/139811408-48842993-ef56-456e-94ba-bcbe36c2b0e7.png) ![image](https://user-images.githubusercontent.com/12023585/139811482-83061c1a-74dd-4d69-9dcc-2b1a0c7164d9.png) ![image](https://user-images.githubusercontent.com/12023585/139811557-a6443222-4b57-48ee-87af-457d7a036ef0.png) ![image](https://user-images.githubusercontent.com/12023585/139811596-1f09fa3f-ca0d-40e2-99ae-ea09dcba94fc.png) ![image](https://user-images.githubusercontent.com/12023585/139811641-1af42700-4618-4f1b-bc91-0b812c3a9cb8.png)