parse zazen (textile for zena) and display content |
|
| see content_lang, publish, zena 1.0 | |
Display an attribute and parse it with zazen firs (live edit) :
<r:zazen attr='text' live='true'/>
Display TextDocument code (chooses code lang from content-type):
<r:zazen attr='text' code='#{content_lang}'/>
Display an attribute that you know is C++:
<r:zazen attr='function' code='cpp'/>
next version of Zazen parser
By default, zazen rendering will forbid javascript, css, external links and external images. All of these can be enabled back through the ‘allow’ option.
<r:zazen attr='text' allow='links,images,css,javascript'/>
Do not allow ‘javascript’ unless you really have to and you know the content is safe or you will expose your site (and users) to XSS attacks.
Until the allow whitelisting is enabled, you can use filter to remove ‘html’ and or ‘css’:
<r:zazen attr='text' filter='html,css'/>