# [IPython-User] global markup preamble?

MinRK benjaminrk@gmail....
Mon Jan 21 17:30:04 CST 2013

On Mon, Jan 21, 2013 at 2:10 PM, David Warde-Farley <
d.warde.farley@gmail.com> wrote:

> I'd kind of like to somehow have a few $\newcommand{}$ things included
> at the top of every Markdown cell before rendering. I can imagine that
> it'd be useful to have a list of [foo] markdown links that is globally
> accessible, as well. Is there a way to do this sort of thing
> currently?
>

I don't think you need to do that more than once per page.

I just used the MathJax example of:

$\newcommand{\water}{H_{2}O}$

in my first markdown cell, and the \water command is available in every
cell thereafter

> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130121/19873b6c/attachment.html