so great, it is what i wanted now
On 9月4日, 下午10时03分, Tim Chase <[EMAIL PROTECTED]> wrote:
> > i find this code translate enter once to "" , and enter twice is
> > still "".
> > i want keep "", ie. enter once i get a "", enter twice i get a
> > ""
> > is this possible?
>
> Ah...I misunderstood wh
> i find this code translate enter once to "" , and enter twice is
> still "".
> i want keep "", ie. enter once i get a "", enter twice i get a
> ""
> is this possible?
Ah...I misunderstood what you wanted. Yes, the same sort of
thing could work:
r = re.compile('([^\n])\n([^\n])')
text = r.su
Actually, after test for 2 days,
i find this code translate enter once to "" , and enter twice is
still "".
i want keep "", ie. enter once i get a "", enter twice i get a
""
is this possible?
thx!
On 9月3日, 下午4时15分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> it is ok now, thx Tim
>
> On 9月
it is ok now, thx Tim
On 9月3日, 上午6时29分, Tim Chase <[EMAIL PROTECTED]> wrote:
> > but this is the same as enter twice, user must remember to end with
> > one or more space.
>
> > is there other plugin like markdown which is a truely what they is
> > what they get?
>
> Well, it's possible to pre-p
> but this is the same as enter twice, user must remember to end with
> one or more space.
>
> is there other plugin like markdown which is a truely what they is
> what they get?
Well, it's possible to pre-process the user's input with
something like
import re
add_br_re = re.compile('\n+')
in
thx ,Johnathan.
but this is the same as enter twice, user must remember to end with
one or more space.
is there other plugin like markdown which is a truely what they is
what they get?
thx
On Sep 2, 11:25 pm, Jonathan Buchanan <[EMAIL PROTECTED]>
wrote:
> [EMAIL PROTECTED] wrote:
> > i use ma
[EMAIL PROTECTED] wrote:
> i use markdown for beautify content, but i found if enter once, there
> will be no new line.
> i need to enter twice to get a new line (as )
>
> how can i get a new line when enter once, you know our user do not
> know they need to enter twice.
"When you do want to in
7 matches
Mail list logo