Hi I have posted a comment to http://flask.pocoo.org/snippets/20/ but forgot(and dont know how) to add code markers. How can I add code markers when posting a comment? Thiago.
Le 31/12/2011 03:00, Thiago Padilha a écrit : > Hi > > I have posted a comment to http://flask.pocoo.org/snippets/20/ but > forgot(and dont know how) to add code markers. How can I add code > markers when posting a comment? > > Thiago. Hi, It looks like snippets comments are rendered with Creole: https://github.com/mitsuhiko/flask/blob/website/flask_website/database.py#L153 It is actually explained when you add a snippet, but not when you add a comment: http://flask.pocoo.org/snippets/new/ Regards, -- Simon Sapin
Ok it seems I messed up again. Can someone please delete my comments? On Sat, Dec 31, 2011 at 12:50 AM, Simon Sapin <simon.sapin@exyr.org> wrote: > Le 31/12/2011 03:00, Thiago Padilha a écrit : >> Hi >> >> I have posted a comment to http://flask.pocoo.org/snippets/20/ but >> forgot(and dont know how) to add code markers. How can I add code >> markers when posting a comment? >> >> Thiago. > > Hi, > > It looks like snippets comments are rendered with Creole: > > https://github.com/mitsuhiko/flask/blob/website/flask_website/database.py#L153 > > It is actually explained when you add a snippet, but not when you add a > comment: > > http://flask.pocoo.org/snippets/new/ > > Regards, > -- > Simon Sapin