Syntax Questions

2008-07-17 Thread Jurgens du Toit
Hey :) Is it a bug or a feature that the following two texts get formatted differently? My shopping list + Bread + Milk + Cheese My shopping list + Bread + Milk + Cheese In the first one, the list doesn't get converted to an unordered list, while in the second, it does... It occurs in both

Markdown Editor plugin for Eclipse

2008-07-17 Thread Daniel Winterstein
Hello, I'd like to announce an improved version of my Markdown Editor plugin for the popular Eclipse Java + everything else IDE. The Markdown plugin has moved from it's old location. The new location is: http://winterwell.com/software/markdown-editor.php There's syntax highlighting, a preview

Re: Syntax Questions

2008-07-17 Thread Jurgens du Toit
Ok. Is it possible to modify the code to do that? Can you point me in the right direction? It's something I'd realy like to be able to do, even if it is a configurable options. Another thing, is it possible to convert newlines to br/ tags? I tried nl2br before and after passing the string to

Re: Syntax Questions

2008-07-17 Thread John Gabriele
On Thu, Jul 17, 2008 at 9:49 AM, Jurgens du Toit [EMAIL PROTECTED] wrote: Ok. Is it possible to modify the code to do that? Very probably, but you may not want to. My impression is that there's a lot of tradeoffs in Markdown between it trying to do what you mean and it requiring non-ambiguous

Re: Syntax Questions

2008-07-17 Thread Jurgens du Toit
On Thu, Jul 17, 2008 at 4:11 PM, John Gabriele [EMAIL PROTECTED] wrote: On Thu, Jul 17, 2008 at 9:49 AM, Jurgens du Toit [EMAIL PROTECTED] wrote: Ok. Is it possible to modify the code to do that? Very probably, but you may not want to. My impression is that there's a lot of tradeoffs

Re: Syntax Questions

2008-07-17 Thread Jan Erik Moström
Jurgens du Toit [EMAIL PROTECTED] 08-07-17 20.12 Any special reason why single newlines don't get converted to br/? I'm thinking that if it happens right at the end of the manipulations, and newlines between closing and opening block tags (such as \p\np) get ignored, it will work? Or, actually

Re: Syntax Questions

2008-07-17 Thread Jurgens du Toit
Exactly that, yes. On Thu, Jul 17, 2008 at 10:00 PM, Jan Erik Moström [EMAIL PROTECTED] wrote: Jurgens du Toit [EMAIL PROTECTED] 08-07-17 20.12 Any special reason why single newlines don't get converted to br/? I'm thinking that if it happens right at the end of the manipulations, and

Re: Syntax Questions

2008-07-17 Thread Jan Erik Moström
Jurgens du Toit [EMAIL PROTECTED] 08-07-17 22.13 Exactly that, yes. Well, there is a good reason why Markdown doesn't do this. Many prefer to use a plain text editor which doesn't wrap text (I for example prefer my text files this way) and we insert hard new lines to keep the lines from

Re: Syntax Questions

2008-07-17 Thread Michel Fortin
Le 2008-07-17 à 10:11, John Gabriele a écrit : On Thu, Jul 17, 2008 at 9:49 AM, Jurgens du Toit [EMAIL PROTECTED] wrote: Ok. Is it possible to modify the code to do that? Very probably, but you may not want to. My impression is that there's a lot of tradeoffs in Markdown between it trying

Re: Syntax Questions

2008-07-17 Thread Michel Fortin
Le 2008-07-17 à 16:41, Jan Erik Moström a écrit : Well, there is a good reason why Markdown doesn't do this. Many prefer to use a plain text editor which doesn't wrap text (I for example prefer my text files this way) and we insert hard new lines to keep the lines from becoming too long.