Leo,

If you want to wrap without the end of a paragraph, you should end your
lines with 2 or more spaces then do a single new line.

This is as per the standard Markdown behaviour.

Also, make sure you parse all the text you need parsed in one go, not
line by line.

All the best

Benoit

On 11-07-04 08:02 PM, leo wrote:
> Yes, you totally understood me,actually I copied the text from word and
> paste into textfield, it is very inconvenience manually add a blank line
> and also as you mentioned,if I put blank line between each line the
> appearance
> is not what i like i like this
>  
> Action: check WSMB
> Reason: customer check this then got error
> Result: finish, result is good, in spec
>
> so do you have any suggestion to achieve this goal?
>
> Thank you very much.
>
> On 2011-7-5 1:46, creecode wrote:
>> Hello Liu,
>>
>> On Monday, July 4, 2011 10:06:29 AM UTC-7, Liu Lin wrote:
>>
>> If I understand your post correctly you are entering in something like...
>>
>>     Action: check WSMB
>>     Reason: customer check this then got error
>>     Result: finish, result is good, in spec
>>
>> ...in a field of your form.  Upon save you process this field with
>> markdown and you want to store something like...
>>
>> <p>Action: check WSMB</p>
>> <p>Reason: customer check this then got error</p>
>> <p>Result: finish, result is good, in spec</p>
>>  
>> I'm no markdown expert but I would say this is a problem of your
>> understanding of how markdown turns it's markup and into html not a
>> problem with Django or the markdown package.
>>
>> To achieve the results you want I think you would need to enter
>> something like...
>>
>> Action: check WSMB
>>
>> Reason: customer check this then got error
>>
>> Result: finish, result is good, in spec
>>
>> You need a blank line between each line.
>>
>> Alternately you could preprocess the input and add the extra lines
>> yourself before processing with markdown..
>>
>> Toodle-looooooooooooooo...............
>> creecode
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/Tjkni_VHXCUJ.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>
> -- 
> chlin
> -- 
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to