Re: IOCaml codemirror

Sylvain Corlay <[email protected]> Fri, 25 Mar 2016 07:34:55 -0400
Newsgroups gmane.comp.python.ipython.devel
Message-ID <CAK=Phk5m-+shOwiunZqLTf=XHMhiem6cQLAUbs7h=+qEm137Wg@mail.gmail.com>
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" <[email protected]> wrote:

> On 24 March 2016 at 21:39, Denis Pinsard <[email protected]>
> 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
> [email protected]
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
>

_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-dev