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 <[email protected]> wrote: > On Mon, May 16, 2011 at 11:34 PM, JayShaffstall <[email protected]>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)}} > > > > >

