you can extend MARKMIN by passing extra

MARMIN(text, extra={'space':lambda code: '<br style="height:%s"/>' %
code

and in text

``50px``:space



On Aug 6, 9:28 am, Bruno Rocha <[email protected]> wrote:
> In Markmin double spaces between lines or paragraphs breaks the line, but
> only one break is allowed, sometimes we need more space.
>
> I think it's extremely necessary to use <br> sometimes. Markdown and
> wikimedia does.
>
> I'm writing a lot and need to convert to PDF, the way I'm doing the css code
> is not considered in the conversion.
> So I'm using  ``<br>``:template   to solve the problem, it is very ugly..
> but works..
>
> I created a function to render that then I call as ``{{=br(4)}}``:template
> which returns '<br><br><br><br>'
>
> 2010/8/6 mr.freeze <[email protected]>
>
>
>
> > In markdown, you make a new line by ending the current line with two
> > or more spaces.
>
> > On Aug 6, 9:17 am, mdipierro <[email protected]> wrote:
> > > On Aug 6, 8:55 am, David Marko <[email protected]> wrote:
>
> > > > I have a few questions to MARKMIN.
>
> > > > 1. How to allow user to enter new line? Is there some way, using
> > > > MARKMIN, how to specify new line ('cause common text area new lines
> > > > are not translated to <br />)
>
> > > You do not. Use CSS for that. That is the point of using a markup
> > > language.
>
> > > > 2. When using the 'image' MARKMIN command, is there a way how to
> > > > display the image 'inline', mean without align='left|center|right'
> > > > params, which screw up page view?
>
> > > center should be the same as inline.
>
> --
>
> http://rochacbruno.com.br

Reply via email to