I think this is groovy (i.e. one notch up from cool) However, there's one thing: if @{hello} returns the output of the variable, shouldn't @{a/b/c} return the output of the call to the url?
On Friday, April 6, 2012 12:08:57 AM UTC-3, Massimo Di Pierro wrote: > > Consider this text > > text = """ > **bold** > ''italic'' > ``code`` > [[anchor]] > [[link to #anchor]] > http://example/image.jpg (embeds the image) > http://example/image.mp3 (embeds the audio) > http://example/image.mp4 (embeds the video) > @{hello} (embeds the variable hello) > @{controller/function/a/r/g/s.extension} (converts to the corresponding > full URL http://..../app/controller/function/a/r/g/s.extension) > """ > > print MARKMIN(text, url=True,environment=dict(hello='hello')) > > Can see the implications for use in CMS? > Suggestions for improvements? This is experimental and I am not completely > sure about the syntax. > > Massimo > >