[IPython-dev] is markdown broken in latest ipython?
Zoltán Vörös
zvoros at gmail.com
Mon May 13 09:34:11 EDT 2013
Hi Matthias,
I can open a ticket, no problem. In the meantime, is there a workaround?
I know that I could inject javascript from the profile, but that can't
be done on a notebook-by-notebook basis, can it? Whatever I place into
the script folder will be inserted in all notebooks. Also, when sharing
a notebook, I would have to distribute my script, and ask the person to
place it in their own folder. Sort of awkward...
Cheers,
Zoltán
On 13/05/13 15:31, Matthias BUSSONNIER wrote:
>
> Le 12 mai 2013 à 08:31, Zoltán Vörös a écrit :
>
>> Hi all,
>>
>> I have just pulled the master branch from git, and it seems to me
>> that markdown rendering is broken. I used to have a short piece of
>> script at the beginning of my notebooks, so that I can hide various
>> fields.
>>
>> <script type="text/javascript">
>> show=true;
>> function toggle(){
>> if (show){
>> $('div.input').hide();
>> }else{
>> $('div.input').show();
>> }
>> show = !show
>> }
>> </script>
>> <a href="javascript:toggle()" target="_self">toggle input</a>
>
> The new marked parser replace the quotes in $("div.input") by their
> html escaped sequences: &39; same with simple quote.
> Would you like to open a bug report to be able to follow when a fix is
> available ?
>
> --
> Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130513/b9c404ad/attachment.html>
More information about the IPython-dev
mailing list