Hi all, newbie question here:
I would like to use the 'tables' extension for Markdown in web.py. Right
now I access markdown as follows:
### Templates
t_globals = {
'datestr': web.datestr,
'markdown': markdown.markdown
}
# Define where the basic page template is located relative to
# this python code (./templates/base.html)
render = web.template.render('templates/', base = 'base', globals =
t_globals)
I would like to use Markdown to create simple tables in a wiki:
http://pythonhosted.org/Markdown/extensions/tables.html
According to the python doc's I should be able to access tables via:
>>> html = markdown.markdown(text, ['tables'])
How can I do this in web.py?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.