Please I will like to display a sting in my view using the markdown syntax.
I have the following code
{{from gluon.contrib.markdown.markdown2 import markdown}}
{{=markdown(file.description)}}
But I get an error saying
No module named markdown2
Thanks in advnce
--
R
As I understand it, Markdown allows for raw HTML to be included, so long as
it is set unindented in its own "paragraph". But when I try the example
from the Markdown spec
(http://daringfireball.net/projects/markdown/syntax#html), it gets escaped.
My view code:
{{extend 'layout.html'}}
> {{fro
Markdown display using the imported WIKI function shifts text down by
about 1/2em (one half of a line). This is very annoying in a table
which no longer lines up vertically. The markdown rendered text
column shows up below the other columns across a row. This just looks
bad. Is there any reason
I changed markdown in trunk
This_test_here will no longer produce Thistesthere but this
_other_ test will produce this other test. This is no longer
conform to specs but it is what I as a user expect.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" gr
4 matches
Mail list logo