This is great. Thank you!  I am planning to use it for this:

https://launchpad.net/t4

Massimo

On Sep 13, 4:29 pm, zahariash <[email protected]> wrote:
> Code was trimmed...
>
> Correct linkhttp://p.linode.com/2985
>
> On 13 Wrz, 23:15, zahariash <[email protected]> wrote:
>
> >http://p.linode.com/2984
>
> > from markdown2 import *
>
> > text = '''
> > #ada adad sdasd#
> > *asdasdas*
> > {{stay **unchanged**, please}}
> > asdasda
> > '''
>
> > print markdown(text)
>
> > result:
> > <h1>ada adad sdasd</h1>
>
> > <p><em>asdasdas</em></p>
>
> > <p>{{stay **unchanged**, please}}</p>
>
> > <p>asdasda</p>
>
> > ?
>
> > On 13 Wrz, 21:32, mdipierro <[email protected]> wrote:
>
> > > That is not what I need. I want markdown to ignore markup inside
> > > {{...}}.
>
> > > On Sep 13, 2:25 pm, stefaan <[email protected]> wrote:
>
> > > > Fromhttp://daringfireball.net/projects/markdown/syntax#backslash
>
> > > > Markdown provides backslash escapes for the following characters:
>
> > > > \   backslash
> > > > `   backtick
> > > > *   asterisk
> > > > _   underscore
> > > > {}  curly braces
> > > > []  square brackets
> > > > ()  parentheses
> > > > #   hash mark
> > > > +   plus sign
> > > > -   minus sign (hyphen)
> > > > .   dot
> > > > !   exclamation mark
>
> > > > Did you try this?
>
> > > > Best regards,
> > > > Stefaan.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to