Re: [Radiant] Redcloth
John W. Long wrote: Keith Bingman wrote: I meant to include this, but forgot: http://redhanded.hobix.com/inspect/usingRedcloth3.html He states that you can switch hard breaks on, but when I try this, it disables paragraphs. Oh well... I think I'm going to side with _why for now. In the meantime you can just use br / tags between lines. You can also insert one (or more) spaces right before the newline. RedCloth will convert /\s+$/ to a br /. This is also ``standard'' Textile. Try it out: http://textism.com/tools/textile/ -Drew ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Paul Stadig wrote: I for one would rather not insert br/ tags all over my mark up. If I was gonna do that I'd just do everything in straight HTML. I like the simplicity of Textile. I like to have wrapped text (which contains inherent newlines) in page textareas so that it is more readable while editing. All those newlines shouldn't be converted to br /s. If you look at the impetus for Markdown, Textile, et al, it's to make composing HTML as easy as writing a mail message. Needing specifically placed line breaks is the exception in prose, not the rule. Special formatting is going to be more difficult with any software. -Drew ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
John W. Long wrote: Keith Bingman wrote: _why seems to have other feelings, but this is how it would ideally work for me. Could you point me to a url about this? -- John Long http://wiseheartdesign.com I meant to include this, but forgot: http://redhanded.hobix.com/inspect/usingRedcloth3.html He states that you can switch hard breaks on, but when I try this, it disables paragraphs. Oh well... Keith BIngman -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Keith Bingman wrote: I meant to include this, but forgot: http://redhanded.hobix.com/inspect/usingRedcloth3.html He states that you can switch hard breaks on, but when I try this, it disables paragraphs. Oh well... I think I'm going to side with _why for now. In the meantime you can just use br / tags between lines. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
The hard_breaks bug is even worse than this, I think. When you turn on hard_breaks it totally ignores all block specifiers except the first one (http://rubyforge.org/pipermail/redcloth-upwards/2006-June/49.html). When hard_breaks is on this: p. 703.289.3820 *tel* 703.359.0952 *fax* p. [EMAIL PROTECTED]:mailto:[EMAIL PROTECTED] Becomes: p703.289.3820 strongtel/strongbr /703.359.0952 strongfax/strongbr / p. a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a/p This happens with hn. marks and everything (yikes!). Downgrading RedCloth to 3.0.3 seems to fix it, and with hard_breaks you get: p703.289.3820 strongtel/strongbr /703.359.0952 strongfax/strong/p pa href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a/p I haven't tried downgrading RedCloth with Radiant, but as far as I can tell it should work??? The 0.5.2 gem spec depends on RedCloth = 3.0.3. I for one would rather not insert br/ tags all over my mark up. If I was gonna do that I'd just do everything in straight HTML. I like the simplicity of Textile. Paul -- Message: 2 Date: Thu, 17 Aug 2006 18:59:05 +0200 From: Keith Bingman [EMAIL PROTECTED] Subject: Re: [Radiant] Redcloth To: radiant@lists.radiantcms.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=utf-8 John W. Long wrote: Keith Bingman wrote: Does that make sense? So to clarify, you give it the following: MI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house And expect: pMI 31.08. digi loungingbr/ DO 01.09. rive gauche opening partybr/ FR 02.09. csaba, crying soul productionbr/ SA 03.09. l'un est l'autre, deep'n sexy house/p But instead get: pMI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house /p ? -- John Long http://wiseheartdesign.com Yes, this is how it usually works in Textile, at least in Textpattern. As Dean Allen wrote both, one would expect that that is the way it was inteneded to work. _why seems to have other feelings, but this is how it would ideally work for me. Keith Bingman -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
On Aug 18, 2006, at 10:33 AM, Paul Stadig wrote:I for one would rather not insert br/ tags all over my mark up. If Iwas gonna do that I'd just do everything in straight HTML. I like thesimplicity of Textile.I'm with Paul. _why might be wrong in this case.Maybe we could relax the gem spec dependency to = 3.0? -- Daniel Lyons[EMAIL PROTECTED] ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
John W. Long wrote: Keith Bingman wrote: I meant to include this, but forgot: http://redhanded.hobix.com/inspect/usingRedcloth3.html He states that you can switch hard breaks on, but when I try this, it disables paragraphs. Oh well... I think I'm going to side with _why for now. In the meantime you can just use br / tags between lines. -- John Long http://wiseheartdesign.com I assumed this one be the response. Unfortunately, this is not a site for me... one of the pesky customers who doesn't want to learn...! I have a solution though. Thanks for looking into it. Keith Bingman -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
MarsHall wrote: RedCloth is focused on Textile formatting (with Markdown practically as an aside). I suggest using BlueCloth for Markdown: http://www.deveiate.org/projects/BlueCloth Radiant does use BlueCloth for Markdown. We were discussing some differences between the way RedCloth formats Textile and the way it works with the original Textile library. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Keith Bingman wrote: After googling (like I should have done in the first place) I see that -why has made it like this on purpose, unlike the textile I am used to. Turning hard breaks on, at least as far as I can tell, makes everything one big paragraph, with breaks in between. I need blocks of paragraphs, with line breaks. I got it to work in Markdown, but one really prefer Textile. I know this has been a probem in Rails generally, but never have personally found a good solution. Could you give me an example of text that is being interpreted incorrectly and the output? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Keith Bingman wrote: Does that make sense? So to clarify, you give it the following: MI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house And expect: pMI 31.08. digi loungingbr/ DO 01.09. rive gauche opening partybr/ FR 02.09. csaba, crying soul productionbr/ SA 03.09. l'un est l'autre, deep'n sexy house/p But instead get: pMI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house /p ? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant