Re: Markup from file

Matthias Bussonnier <[email protected]> Wed, 8 Jul 2015 22:54:00 -0500
Newsgroups gmane.comp.python.ipython.user
Message-ID <[email protected]>
--===============0344891177==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_0234A353-BFC1-481F-8506-9D19877C7718"


--Apple-Mail=_0234A353-BFC1-481F-8506-9D19877C7718
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi again Steve,=20

BTW, I forgot, IPython-user mailing list is roughly deprecated & empty,=20=

you should usually write to IPython-dev which was perfectly fine for =
that.

--=20
M




> On Jul 8, 2015, at 18:29, [email protected] wrote:
>=20
> Hello,
>=20
> I'm just a new user to ipython notebook, and dont know if I am =
overlooking functionality.
>=20
> I would like to store a markdown file in a directory with my data from =
a test run, when I open a notebook and point it at the directory with my =
data, I would like to see the markdown file marked up in my notebook. ( =
This file will specify some of the test run parameters that can change =
from run to run and intended for human consumption in the form of some =
headings and bullet points)
>=20
> To do this I think I either need to be able to pass a filename to  a =
markdown cell.
> or
> Do it in a code cell with something like IPython.display "Markdown" =
object which I dont think exists.
>=20
> Currently I am using John Gruber's Markdown module to read the =
markdown file, convert it to a html  file, then display that with =
IPython.display HTML, however I'd like to acheive my goal without =
pulling in libraries external to ipython, as it makes my notebook less =
portable.
>=20
> Is there a better way to display the "markup" from a markdown file in =
a cell?
>=20
> thanks
> Steve
> Email sent using Optus Webmail
> _______________________________________________
> IPython-User mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/ipython-user


--Apple-Mail=_0234A353-BFC1-481F-8506-9D19877C7718
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi again Steve,&nbsp;<div class=3D""><br class=3D""></div><div =
class=3D"">BTW, I forgot, IPython-user mailing list is roughly =
deprecated &amp; empty,&nbsp;</div><div class=3D"">you should usually =
write to IPython-dev which was perfectly fine for that.</div><div =
class=3D""><br class=3D""></div><div class=3D"">--&nbsp;</div><div =
class=3D"">M<br class=3D""><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jul 8, 2015, at 18:29, <a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a> wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
style=3D"font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; =
font-size: 12px;" class=3D"">Hello,<br class=3D""><br class=3D"">I'm =
just a new user to ipython notebook, and dont know if I am overlooking =
functionality.<br class=3D""><br class=3D"">I would like to store a =
markdown file in a directory with my data from a test run, when I open a =
notebook and point it at the directory with my data, I would like to see =
the markdown file marked up in my notebook. ( This file will specify =
some of the test run parameters that can change from run to run and =
intended for human consumption in the form of some headings and bullet =
points)<br class=3D""><br class=3D"">To do this I think I either need to =
be able to pass a filename to&nbsp; a markdown cell.<br class=3D"">or<br =
class=3D"">Do it in a code cell with something like IPython.display =
"Markdown" object which I dont think exists.<br class=3D""><br =
class=3D"">Currently I am using <span class=3D"st">John Gruber's =
Markdown module to read the markdown file, convert it to a html&nbsp; =
file, then display that with IPython.display HTML, however I'd like to =
acheive my goal without pulling in libraries external to ipython, as it =
makes my notebook less portable.<em class=3D""><br class=3D""></em><br =
class=3D"">Is there a better way to display the "markup" from a markdown =
file in a cell?<br class=3D""><br class=3D"">thanks<br class=3D"">Steve<em=
 class=3D""><br class=3D""></em></span><hr class=3D"">Email sent using =
Optus Webmail</div>
_______________________________________________<br class=3D"">IPython-User=
 mailing list<br class=3D""><a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a><br =
class=3D"">http://mail.scipy.org/mailman/listinfo/ipython-user<br =
class=3D""></div></blockquote></div><br =
class=3D""></div></div></div></body></html>=

--Apple-Mail=_0234A353-BFC1-481F-8506-9D19877C7718--

--===============0344891177==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
IPython-User mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/ipython-user

--===============0344891177==--