[web2py] Re: Some MARKMIN questions

2010-08-06 Thread mdipierro
Mind you may want to escape (depending on who can edit it) MARMIN(text, extra={'space':lambda code: '' % xmlescape(code)}) ``50px``:space On Aug 6, 10:22 am, Bruno Rocha wrote: > Cool! tks > > replacing right now > > 2010/8/6 mdipierro > > > > > you can extend MARKMIN by passing extra > > > MA

Re: [web2py] Re: Some MARKMIN questions

2010-08-06 Thread Bruno Rocha
Cool! tks replacing right now 2010/8/6 mdipierro > you can extend MARKMIN by passing extra > > MARMIN(text, extra={'space':lambda code: '' % > code > > and in text > > ``50px``:space > > > > On Aug 6, 9:28 am, Bruno Rocha wrote: > > In Markmin double spaces between lines or paragraphs breaks t

[web2py] Re: Some MARKMIN questions

2010-08-06 Thread mdipierro
you can extend MARKMIN by passing extra MARMIN(text, extra={'space':lambda code: '' % code and in text ``50px``:space On Aug 6, 9:28 am, Bruno Rocha wrote: > In Markmin double spaces between lines or paragraphs breaks the line, but > only one break is allowed, sometimes we need more space. >

Re: [web2py] Re: Some MARKMIN questions

2010-08-06 Thread Bruno Rocha
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 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 c

[web2py] Re: Some MARKMIN questions

2010-08-06 Thread mr.freeze
In markdown, you make a new line by ending the current line with two or more spaces. On Aug 6, 9:17 am, mdipierro wrote: > On Aug 6, 8:55 am, David Marko 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 spe

[web2py] Re: Some MARKMIN questions

2010-08-06 Thread mdipierro
On Aug 6, 8:55 am, David Marko 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 ) You do not. Use CSS for that. That is the point of usin