Markup from file

[email protected] Thu, 09 Jul 2015 09:29:00 +1000
Newsgroups gmane.comp.python.ipython.user
Message-ID <[email protected]>
--===============0152723925==
Content-Type: multipart/alternative;
	boundary="=_db4d6975d9beae5a76a1db9eb45f7e9e"

--=_db4d6975d9beae5a76a1db9eb45f7e9e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,=0A=0AI'm just a new user to ipython notebook, and dont know if I=
 am=0Aoverlooking functionality.=0A=0AI would like to store a markdown f=
ile in a directory with my data from=0Aa test run, when I open a noteboo=
k and point it at the directory with=0Amy data, I would like to see the=
 markdown file marked up in my=0Anotebook. ( This file will specify some=
 of the test run parameters=0Athat can change from run to run and intend=
ed for human consumption in=0Athe form of some headings and bullet point=
s)=0A=0ATo do this I think I either need to be able to pass a filename t=
o=C2=A0 a=0Amarkdown cell.=0Aor=0ADo it in a code cell with something li=
ke IPython.display "Markdown"=0Aobject which I dont think exists.=0A=0AC=
urrently I am using John Gruber's Markdown module to read the=0Amarkdown=
 file, convert it to a html=C2=A0 file, then display that with=0AIPython=
.display HTML, however I'd like to acheive my goal without=0Apulling in=
 libraries external to ipython, as it makes my notebook less=0Aportable.=
=0A=0AIs there a better way to display the "markup" from a markdown file=
 in=0Aa cell?=0A=0Athanks=0ASteve=0A=0A-------------------------=0AEmail=
 sent using Optus Webmail

--=_db4d6975d9beae5a76a1db9eb45f7e9e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"font-family: 'Helvetica Neue',Helvetica,Arial,sans-=
serif; font-size: 12px;">Hello,<br><br>I'm just a new user to ipython no=
tebook, and dont know if I am overlooking functionality.<br><br>I would=
 like to store a markdown file in a directory with my data from a test r=
un, 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 fi=
le 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><br>To do this I think I either need to be able t=
o pass a filename to=C2=A0 a markdown cell.<br>or<br>Do it in a code cel=
l with something like IPython.display "Markdown" object which I dont thi=
nk exists.<br><br>Currently I am using <span class=3D"st">John Gruber's=
 Markdown module to read the markdown file, convert it to a html=C2=A0 f=
ile, then display that with IPython.display HTML, however I'd like to ac=
heive my goal without pulling in libraries external to ipython, as it ma=
kes my notebook less portable.<em><br></em><br>Is there a better way to=
 display the "markup" from a markdown file in a cell?<br><br>thanks<br>S=
teve<em><br></em></span><hr>Email sent using Optus Webmail</body></html>

--=_db4d6975d9beae5a76a1db9eb45f7e9e--


--===============0152723925==
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

--===============0152723925==--