[IPython-dev] IOCaml codemirror

Sylvain Corlay sylvain.corlay at gmail.com
Fri Mar 25 07:34:55 EDT 2016


One must specify the mimetype 'text/x-ocaml', or specify the codemirror
mode 'ocaml'.

The mode overrides the mimetype if both are specified.

It is probably cleaner to specify the mimetype.
On Mar 24, 2016 9:56 PM, "Thomas Kluyver" <takowl at gmail.com> wrote:

> On 24 March 2016 at 21:39, Denis Pinsard <denis.pinsard at dichotomies.fr>
> wrote:
>
>> When I add
>> "codemirror_mode" : "mllike"
>> in the metadata, this information is removed when the page and reloaded.
>>
>
> I think you need to get the IOcaml kernel authors to include that in the
> language info in the kernel.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20160325/74107481/attachment.html>


More information about the IPython-dev mailing list