[SciPy-Dev] Migrating to Markdown Syntax from reStructured Text in SPC
Thu Jul 4 09:43:31 CDT 2013
On Thu, Jul 4, 2013 at 5:29 AM, Andreas Hilboll <email@example.com> wrote:
> On 04.07.2013 11:23, Matthias BUSSONNIER wrote:
>> 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
>> 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
>> 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
>>> (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.
> Well, I personally do prefer reST. So if the reST problems were fixed
> and the notebooks would support reST, then reST would be my favourite
> SPyCe solution ... But until then, using MD in SPyCe would make the
> notebook export easier.
Similar here, I'm writing almost only reST these days.
github allows reSt in the Wiki (without extensions and maybe reduced
directives), so it should be possible to solve any security issues.
(github offers a choice of markup)
> -- Andreas.
> SciPy-Dev mailing list
More information about the SciPy-Dev