# [IPython-dev] Latex highlighting for markdown cells?

Zoltán Vörös zvoros at gmail.com
Fri Aug 29 13:38:25 EDT 2014

Hi Matthias,

I have recently been wondering myself about this. What I wanted to do is
insert the closing \end{environment} tags in the markdown cell, and
insert e.g., \frac{}{} and move the cursor back to the first curly
bracket, if the user types \fra, but syntax highlighting would also be
useful. Could you point me to some sort of documentation as to how one
starts out writing a plugin for this? I would be willing to work on this.

Cheers,
Zoltán

On 08/29/2014 06:05 PM, Matthias Bussonnier wrote:
> Le 29 août 2014 à 17:00, Klymak Jody <jklymak at gmail.com> a écrit :
>
>> Sorry if I've double posted this - I keep sending from the wrong account...
>>
>> Hi all,
>>
>> I am using a lot of <equation> tags in my markdown cells, and that works great for what I am writing.  However, is there a way to get latex-style highlighting in my cells rather than markdown (or some combination of both)?  As soon as you put an underscore in the cell, everything until the next underscore is rendered as oblique, which is not very easy to read.
>>
> Someone would have to write a markdown+latex mode in code mirror that detect $/$\$ et switch to latex.
> It would have the advantage of also highlighting latex correctly.
> But it need to be done.
>
> is not hard, but not trivial either.
> —
> M
>