You could extend markmin, I haven't tested but this should work
def show_var(text):
"""
Show a request var in markmin.
example usage in markmin:
``x``:show_var
""""
return request.vars[text]
from functools import partial
MARKMINVARS = partial(MARKMIN, extra={'show_var': show_var})
Now you just need to use MARKMINVARS instead of the regular MARKMIN helper
and you will be able to show vars. Again you need to test it because I
haven't even tried this code.
For more see:
http://www.web2py.com/books/default/chapter/29/05#extending-MARKMIN
--
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.