very strange. it is there. Can you try this (which works for me):

$ python web2py.py -S welcome
...
>>> from gluon.contrib.markdown.markdown2 import markdown

On Saturday, 28 June 2014 00:31:56 UTC-5, Arnold bin Laden wrote:
>
> Please I will like to display a sting in my view using the markdown 
> syntax. I have the following code 
>
> <blockquote>
>    <p>
>        {{from gluon.contrib.markdown.markdown2 import markdown}}
>        {{=markdown(file.description)}}
>    </p>
> </blockquote>
>
>
> But I get an error saying 
> <type 'exceptions.ImportError'> No module named markdown2
>
> Thanks in advnce
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to