similar to: Disabling RedCloth ?

Displaying 20 results from an estimated 200000 matches similar to: "Disabling RedCloth ?"

2006 Apr 06
1
textile - redcloth - code block
I''m just getting into RedCloth and am struggling a bit with using the pre and code tags. Why do I need to use both? Is there a tag or way for me to extend RedCloth to always use both pre and code with just one tag? -- Posted via http://www.ruby-forum.com/.
2008 Sep 06
1
<pre> tag content now parsed by redcloth?
Hi, Thanks for all the help so far. I''ve almost got my site upgraded. A few more problems, which I''ll address in separate threads. So, I had <pre> tags in several places which contained code - yaml, ERB, etc. Previously, these were all ignored - passed through verbatim and not parsed by webgen. Now, they appear to be parsed. First, How should I do the equivalent of a
2008 Mar 10
3
Only 5 tests out of 376 currently failing!
Good news! SuperRedCloth is down to just five failing tests! I was down to 10 or so in mid-February but then I added test cases from "The official reference manual for Textile 2", which added 97 new tests, many of them failing. I''m happy to say, they''re almost all passing now. Four of these last five I just need to check with you on before I deviate from
2007 Dec 19
0
Convert all HTML entities within <pre> tags?
Textile 2.0.0: bc. This is within a block of code, so < and > should be *entities*. You can talk about a <p> tag if you wish and it will be properly escaped. <pre> You can''t make something actually <b>bold</b> within. </pre> Output: <pre><code>This is within a block of code, so &lt; and &gt; should be *entities*. You can
2006 Jun 25
1
pre, code, ```, and a "bc." marker. Was "Re: shortcut for full url as the linktext?"
On 6/18/06, Iain Haslam <iainhaslam at gmail.com> wrote: > > BTW, I really like the new > > > > ```source > > code > > ``` > > > > syntax. *Huge* timesaver. > > Continuing this particular off-topicness: Lucas, are you aware or in > favour of the bc(code). syntax already being used for this [1]? I > mentioned it previously on the list [2],
2009 Jun 07
1
Close to a 4.2 release; experimenting with Ragel alternatives
Hi Jason ! Hmmm, this is good and bad news: Good: ruby hooks means I could use a single pass to parse textile customizations in zena instead of running two parsers: nice. Bad: I have just switched to ragel for QueryBuilder to parse pseudo sql and I fear your shortcomings (if that''s an english phrase). Could you describe more precisely what you are missing with ragel ? I''m
2007 Mar 24
0
ignored blocks in redcloth
Hello Redclothians, In Redcloth, is there syntax to add something to a wiki block that is not parsed by redcloth? for example: $permission$ h2. title * blah * blah where $permission$ is ignored by redcloth, so it doesnt affect the rendering of wiki syntax -> html, but appears when you edit a page (perk for me would to also have it not appear in the rendered html). Why would anyone want
2010 Apr 13
1
BBCode Fork of RedCloth
how do you install this? especially on rails 3? putting gem "redcloth", :git => "git://github.com/ROFISH/redcloth.git" doesn''t work. and do nested tags like [quote][quote][/quote][/quote] work? -- Posted via http://www.ruby-forum.com/.
2007 Dec 05
2
some redcloth questions
1) Is there a way to strip a redcloth string of all redcloth tags? I need to display a snippet of the text in an index page and want all markings removed. I used RedCloth.new(''a'').methods but didn''t find anything appropriate. For now, I''m converting to html then stripping tags. 2) what''s the best practice in term of storing user''s redcloth-
2006 Feb 27
12
RedCloth
Is this the prefered method to implement RedCloth in your views. I''m trying to display user input that will sometimes have code references in it. This strips out all tags. I would like for the tags to be displayed but not read as html. Thanks in advance! <%= RedCloth.new(strip_tags(comment.comment),[:filter_html]).to_html %> charlie bowman recentrambles.com -- Posted via
2007 Jan 16
1
<BR> and <P> in RedCloth v. Textism
Hi, I''m using RedCloth right now for some simple markup in a Rails project. It''s simple and easy - thanks for a great tool! I have a question about an apparent discrepancy between RedCloth and Textile, relating to newline characters. I''ve played with the "hard_breaks" feature and that seems to generate it''s own problems.. If I go onto the Textile
2006 Jan 27
9
RedCloth Hard Breaks
Has anybody gotten :hard_breaks to work with RedCloth? I''m doing: self.body_html = RedCloth.new(self.body).to_html(:textile) which works, except that it doesn''t transform hard breaks to <br /> tags, which is really important for me. However, if I do: self.body_html = RedCloth.new(self.body, [ :hard_breaks ]).to_html(:textile) then it converts ALL breaks into <br
2011 Jan 23
2
RedCloth 4.1.1 vs. 4.2.3 - weird behaviour with notextile
For a community project I aim to combine RedCloth and Coderay and on doing this, I might have found an issue with RedCloth. I pushed a demo to Github: https://github.com/markusproske/redcloth_coderay_demo The index (http://localhost:3000/) demonstrates the issue. In brief: A page consist of textile. The textile contains @@@ruby somecode @@@ The textile is first feed into Coderay via a helper
2006 Apr 12
2
RedCloth versus BlueCloth efficiency
Has anyone profiled the performance of RedCloth versus BlueCloth? I''m starting to realise that RedCloth is a more mature ruby project, although Markdown the syntax maybe more widespread than Textilize. Apart from the syntax, does anyone feel they have a preference, in terms of performance or number of outstanding bugs? Many thanks in advance. CHEERS> SAM
2008 Apr 10
5
Extending Bluecloth/Redcloth
I''d like to extend bleucloth or redcloth to support custom tags, e.g. I want to use markup like this: [pubmed:18332676] which shall be extended to: <a href="http://www.ncbi.nlm.nih.gov/pubmed/18332676">Behav Pharmacol. 2008 Mar;19(2):121-128.</a> Does anyone know, if this is possible and has some hints how to do this?! I have not decided, wether I want to use
2006 Jan 18
1
RedCloth and lang specific hooks
Hi, I use textilize() which is a great way of letting end users edit contents. But the code in RedCloth is quite compact, and doesn''t allow for easily adding correct typographic behaviour depending on the lang of the text. For instance, correct quoting uses round double quotes in english and double carons ? ? in french; the spaces before punctuation can be corrected too. I''d
2007 Nov 23
1
SuperRedCloth inserting <pre><code>
I maintain a web application frozen to version Ruby 1.8.6 and RedCloth 3.0.4 Whenever I insert a newline followed by a white space, SuperRedCloth, wraps the text with <pre><code> tags. Say for example I write ############### Hi This is me ############### This piece of text gets translated to <p>Hi</p><pre><code>This is me</code></pre>
2006 Dec 23
0
addition of <dl> lists to redcloth
hello! I wish Textile had a syntax for dl-lists. they are very useful in my opinion, mostly as a substitute for deeply nested headings and two-column tables. Wikicode has a syntax for it: ; Foo : definition ; Bar : definition creating: <dl> <dt>Foo</dt> <dd>definition</dd> <dt>Bar</dt> <dd>definition</dd> </dl>
2007 Jan 05
0
webgen 0.4.0 released
Hey all, finally a new webgen release :-) More information and install instructions below! Thanks for all the help and feedback! Bye, Thomas ------------------- About ===== webgen is used to generate web pages from page and template files. You create one or more template files in which you define the layout of your page and where the content should go. After that you create page files
2006 Apr 28
1
Redcloth is ..
I've been looking at Dean Allen's Redcloth, which claims to incorporate both Markdown and Textile, as implemented in Ruby by _why. While the code is clear and readable, the boundary between markdown and Textile is not. The documentation says # By default, Redcloth uses both Textile and Markdown formatting, with # Textile formatting taking precedence. If you want to turn off Markdown #