Paragraphs and Line Breaks
Angie Ahl
alists at vertebrate.co.uk
Mon Jul 4 14:45:54 EDT 2005
Thanks Michael.
That's exactly the kind of list of examples I was trying to think of.
I'm trying to write a solutions that's all things to all people and
have just decided to try Markdown instead of my home made cocktail of a
markup I currently have. I've now got a mixture of the 2 and it's
mostly working. But the email problem has got me before, but the adding
2 spaces doesn't work for me either. I'm looking for a solution that
doesn't make people need to modify existing text.
I'm not asking for anyone to do it for me and if I find one I will of
course share it.
At the moment I'm thinking about seeing what the next character after
the \n is.
If it's capitalised or the start of a header etc it would indicate a
proper break rather than a created one. Haven't finished thinking it
through yet.
Angie
On 4 Jul 2005, at 19:38, Michel Fortin wrote:
> Le 4 juil. 2005, à 13:36, Angie Ahl a écrit :
>
>> Not really. I'm trying to work out why the double space is needed as
>> the Markup code already treats 2 return as the end of a para so I
>> can't see why the double space is required.
>
> This rule is needed when you want to make your text pretty. Let's say
> you have a list, you can indent the content like this:
>
> 1. This is a small
> paragraph with
> three lines.
>
> It also has a
> second paragraph.
>
> 2. Second item with
> two lines.
>
> Ok, you usually write your lines longer than that, but the point is
> that if you convert every line break by `<br />` like you suggest, you
> can't align the lines yourself. You will have let your text editor
> auto-wrapping method show you something like this:
>
> 1. This is a small
> paragraph with three
> lines.
>
> It also has a
> second paragraph.
>
> 2. Second item with
> two lines.
>
> In the same way, blockquotes written that way:
>
> > This is a blockquote
> > that span on multiple
> > lines.
> >
> > It also have a second
> > paragraph.
>
> will need to be changed like this (displayed as if auto-wrap was
> present):
>
> > This is a blockquote
> that span on multiple
> lines.
> >
> > It also have a second
> paragraph.
>
>
> I find this less readable. But if this is not inconvenient to you,
> feel free to change your Markdown copy to accomodate your needs. It is
> open-source for a reason.
>
>
> Michel Fortin
> michel.fortin at michelf.com
> http://www.michelf.com/
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
More information about the Markdown-Discuss
mailing list