[IPython-dev] ipython html notebook: markdown in math mode and backslashes

Matthias BUSSONNIER bussonniermatthias at gmail.com
Fri Aug 24 15:24:01 EDT 2012


Le 24 août 2012 à 15:48, Aron Ahmadia a écrit :

> Hi Fernando,
> 
> I don't know what this fixes or breaks, but I've ported the SE logic over into IPython dev branch:
> 
> https://github.com/ahmadia/ipython/commit/58121491d37da1ba9d1525f08575b729c6905eb6

Can you open a PR ? It's alway easier to discuss even if it's not merged.
That's a good point to start at lest !

Many thanks or contacting SE  and start digging ! 
-- 
Matthias


> Here's some example Markdown+MathJaX that now works in the modified Notebook:
> 
> +++ 
> 
> ### Initial Value Problems
> 
> We are interested in solving initial value problems of the form:
> 
> \begin{align*}
> y'(t) &= f(t,y), \ t \in [a,b] \\
> y(a)  &= \alpha
> \end{align*}
> 
> ---
> 
> It renders fine in Chrome on OS X, I have not checked any other browsers.
> 
> I didn't squeeze a "this code is X licensed" out of the SE Folk, but Stack Exchange Community Manager Anna Lear told me I could do whatever I wanted with the code, just that it was unreleased and unsupported.  I don't have this in an email from SE or publicly recorded log, but I or somebody else can probably get this if we need it.
> 
> I've modified and adapted the code enough that I don't believe there are any IP issues, and I have also attributed Stack Exchange for their input.  I also added in a regular expression parser that works across browsers.
> 
> 
> A
> 
> On Thu, Aug 23, 2012 at 6:38 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> On Thu, Aug 23, 2012 at 9:41 AM, MinRK <benjaminrk at gmail.com> wrote:
> >
> > Yes, absolutely!  If they have already solved the problem, then let's use an
> > existing and proven solution.
> 
> Major +1 from me on this; Aron, it would be awesome if you could make
> this happen!  The latex bugs have been driving many people nuts as of
> late, so this would be a phenomenal fix to have (and candidate for a
> 0.13.1 backport).
> 
> Cheers,
> 
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list