Ummm, why are you using [[ for links and images instead of just one [ ? It doesn't work for me, when I user the [[ syntax.
On Sep 11, 1:36 am, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > No. It makes the view. You just return it. > > On Sep 10, 3:53 pm, António Ramos <ramstei...@gmail.com> wrote: > > > > > > > > > Humm, dont i need a view? > > > Em 10 de setembro de 2011 21:52, António Ramos > > <ramstei...@gmail.com>escreveu: > > > > Working now :) > > > > Em 10 de setembro de 2011 21:29, António Ramos > > > <ramstei...@gmail.com>escreveu: > > > > Traceback (most recent call last): > > >> File "gluon/restricted.py", line 191, in restricted > > >> File "gluon/restricted.py", line 178, in compile2 > > >> TypeError: compile() expected string without null bytes > > > >> :( > > > >> Just a screenshot please > > > >> 2011/9/10 Michele Comitini <michele.comit...@gmail.com> > > > >>> +1 > > > >>> Terrific! > > > >>> mic > > >>> Il giorno 10/set/2011 21:24, "Massimo Di Pierro" < > > >>> mdipie...@cs.depaul.edu> ha scritto: > > > >>> > Based on desk.js now you can do this > > > >>> > Put the attached slide.py under models (any app). > > > >>> > Write a controller like > > > >>> > def test(): > > >>> > content = """ > > >>> > # My slides title > > >>> > ## Slide One > > >>> > this allows you to create slides using markmin > > >>> > ## Slide Two > > >>> > - you can use lists > > >>> > - you can use [[linkshttp://www.google.com]] > > >>> > - you can use images [[imagehttp://image.example.comcenter]] > > >>> > """ > > >>> > return SLIDE(content,title="My slides") > > > >>> > Notice the resulting file is pure html5 with external links therefore > > >>> it can be downloaded as an independent document.