<p dir="ltr">One must specify the mimetype 'text/x-ocaml', or specify the codemirror mode 'ocaml'.</p>
<p dir="ltr">The mode overrides the mimetype if both are specified.</p>
<p dir="ltr">It is probably cleaner to specify the mimetype.<br>
</p>
<div class="gmail_quote">On Mar 24, 2016 9:56 PM, "Thomas Kluyver" <<a href="mailto:takowl@gmail.com">takowl@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 24 March 2016 at 21:39, Denis Pinsard <span dir="ltr"><<a href="mailto:denis.pinsard@dichotomies.fr" target="_blank">denis.pinsard@dichotomies.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">When I add<br>
"codemirror_mode" : "mllike"<br>
in the metadata, this information is removed when the page and reloaded.</div></blockquote></div><br></div><div class="gmail_extra">I think you need to get the IOcaml kernel authors to include that in the language info in the kernel.<br><br></div><div class="gmail_extra">Thomas<br></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div>