OK - agreed. On 17 May 2011 14:21, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote:
> Why? I think using whitespaces in wiki syntax is bad because they are > invisible. > > On May 17, 1:34 am, Tom Atkins <minkto...@gmail.com> wrote: > > Two spaces at the end of a line makes a new line in Markdown... would it > be > > possible to have the same behavior in Markmin? > > > > On 17 May 2011 04:09, Bruno Rocha <rochacbr...@gmail.com> wrote: > > > > > > > > > > > > > > > > > On Mon, May 16, 2011 at 11:34 PM, JayShaffstall <jshaffst...@gmail.com > >wrote: > > > > >> <p>Just enough of rain<br/> > > >> To bring the smell of silk<br/> > > >> From umbrellas<br/></p> > > > > > You can do that in this way: > > > > > --- Create a custom markmin dictionary --- > > > > > customtags = dict( > > > br=lambda n:'<br>'*int(n), > > > > > template=lambda code:gluon.template.render(code,context=globals()), > > > ) > > > > > --- Yout markup --- > > > markup = """ > > > Just enough of rain ``1``:br > > > To bring the smell of silk ``1``:br > > > From Umbrellas ``1``:br > > > """ > > > > > --- alternative markup --- > > > markup = """ > > > Just enough of rain ``<br>``:template > > > To bring the smell of silk ``<br>``:template > > > From Umbrellas ``<br>``:template > > > """ > > > > > --- rendering --- > > > > > {{=MARKMIN(markup, customtags)}} >