[SciPy-Dev] Migrating to Markdown Syntax from reStructured Text in SPC

Matthias BUSSONNIER bussonniermatthias at gmail.com
Thu Jul 4 05:23:25 EDT 2013


Hi all, 

Le 4 juil. 2013 à 10:30, Surya Kasturi a écrit :

> 1. reST has some security issues - Someone can put some raw HTML in it and thus creating vulnerabilities.. Better explained at 
> 
> https://docs.djangoproject.com/en/1.4/ref/contrib/markup/#restructured-text

But markdown is a superset of HTML… so you implicitly allow to write html if you switch to MD… but you can sanitize.. (just sayin')

> 2. currently reST to HTML conversion is done on the server side! It could be done on client side enabling better text editing and previewing.. 

I hope you cache the redered pages…

> Markdown seems to be a decent option since there are some opensource tools (by Stackoverflow) and we can start integrating them with our site
> 
> http://code.google.com/p/pagedown/wiki/PageDown
> (link previously referred by Sebastian during discussion - thanks!)

IPython just switched from PageDown to Marked… it support GFM, and user are really used to it. 


Le 4 juil. 2013 à 10:38, Andreas Hilboll a écrit :

> On 04.07.2013 10:30, Surya Kasturi wrote:

> Using markdown might also make the notebook export easier, right?

That's funny, a few weeks ago we were saying that markdown was too restrictive and that
it might be worth fixing rst problem than trying to extend markdown and switching back to 
rst one day… (don't worry, not soon), discussion should have been recored on youtube.

-- 
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20130704/2133294a/attachment.html>


More information about the SciPy-Dev mailing list