Displaying 20 results from an estimated 2000 matches similar to: "RedCloth vs BlueCloth -- RTL and Unicode?"
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
2005 May 24
3
textilize/markdown/sanitize for messageboards, oh my!
Hullo, fellow Railsers!
(warning: this isn''t a 100% Rails specific question, but I guess it
very much applies to what a lot of us are currently doing.)
For a project that involves messageboard functionality I''m looking for
a good way of sanitizing user input, so the silly fools, err, my
wonderful users don''t mess things up too much. I''ve played around with
2006 Mar 07
6
Anybody use Red|Blue Cloth?
Does anybody use and prefer Redcloth (or bluecloth, which appears to be
alpha)? Does it affect performance much? Is there a way to get it to
automatically process templates without having to call textilize?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
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
#
2006 Jun 05
2
Bug in RedCloth or in my head?
Instead of emm-dashes I get struck-out text surrounded with single hyphens. RedCloth
3.0.4:
>> d = RedCloth.new "-- hyphens to the left of me, hyphens to the right, all should be emm
dashes --"
=> "-- hyphens to the left of me, hyphens to the right, all should be emm dashes --"
>> d.to_html
=> "<p><del>- hyphens to the left of me, hyphens
2005 Dec 15
5
Instant Rails 1.0 preview7 -- with Typo!
My apologies to all who downloaded preview6, it did not contain Rails 1.0 as
advertised -- I screwed up!
Preview7 does, in fact, contain Rails 1.0 and as a bonus, also includes Typo
2.6.0 as a preinstalled sample app. See the Getting Started page for
instructions on running Typo in Instant Rails:
http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started
Also, you can thank David Morton
2006 Jun 08
21
"Rails recipes" vs "Rails cookbook"
Reviews Wanted.
I''ve read the tables of contents and haven''t yet made up my mind.
Is one book clearly better than the other? Is one clearly full of bugs? Is one so much
further ahead that there is no choice? Are they both so incomplete that I should just
wait and only cook real food? Do trains still have dining cars?
Warren Fred
-------------- next part --------------
An
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
2006 Jan 03
2
Instant Rails 1.0 Release Candidate 1
This release upgrades the included Ruby to version 1.8.4 and will become the
final 1.0 release of Instant Rails if no serious problems are found.
Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails,
Apache, and MySQL, all preconfigured and ready to run. No installer, you
simply drop it into the directory of your choice and run it. It does not
modify your system environment.
2006 Aug 15
0
BlueCloth throws exceptions! Be careful! (was: auto_link fails to handle tilda''s (~) and markdown fails to handle acute accent (`))
On 12/15/05, Sam Joseph <sam@neurogrid.com> wrote:
> markdown couldn''t handle an acute accent (`) e.g.
>
> Hawai`i
>
> It seems that acute accents (or backticks) in Markdown signify code
> segments, and it seems there''s an open ticket for this:
>
> http://www.deveiate.org/projects/BlueCloth/ticket/24
I would just like to bring this to
2006 Jul 18
4
Limiting markdown/textile
I''m using RedCloth for a forum type app. I want users to have control
over the look of their posts, but within limits. For example, I don''t
want them to be able to include images or use header tags. The RedCloth
documentation is pretty thin and I don''t feel it''s very explanatory.
I''m wondering if there''s any easy way to do this? Or do I
2006 Feb 21
29
script/console
The agile book says "You can inspect variables, set values, add other
breakpoints, and generally have a good time".
This is very sweet and totally useless. For example, I want to see the session variable,
the cookies variable and so on. These names are unknown. I think I guess that the things
that are available depend on where you put the breakpoint() call. I''ve tried a
2006 Jun 23
0
Hardbreaks and Redcloth.
There seems to be just no way to do this correctly.
I store my the RedCloth rendered (html) in a row. Lots of the strings
include something along the lines of "\n\n\n\n\n\n\n\n\n\n\n". And
whatever I do, I cannot get it to work without breaking or causing poor
format of lists (IE. an extra <br /> after each. So I ask, anyone come
up with a way they know of? Any alternative
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for
the life of me can''t figure out why I''m getting this exception thrown.
I''ve switched from Switchtower to Capistrano, and when I run rake
deploy I get this output:
** [update_code] exception while rolling back: NameError,
uninitialized constant Net::SSH::Transport::OSSL
2006 Jun 19
5
Wysiwyg HTML Editors and Rails ?
What wysiwyg html/CSS editors do people recommend. I''m mainly interested in FOSS programs
that I can run on WinXP. Sometimes you just have to create some mostly-static pages and
make them look nice. I see that Guy Kawasaki is using Nvu, which is based on Mozilla
composer. Any of you guys have any experience with that?
Warren Fred
-------------- next part --------------
An HTML
2006 Jul 20
6
Ruby on Rails & FastCGI 500 Error
I''m getting an error 500 and I''m at my wits end as to what could be
causing it. I''m sure the path to the ruby executable is correct so what
else could be causing it?
--
Posted via http://www.ruby-forum.com/.
2006 May 17
3
Session in ActiveRecordStore
The Agile book seems to say I should specify this as follows, probably in the
environments.rb:
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:database_manager] =
CGI::Session::ActiveRecordStore
BUT the environments.rb file would have me Un-Comment this:
config.action_controller.session_store = :active_record_store
Anyway, I''ve tried both, and in both cases it
2006 Jan 25
14
Salted Hash Login Generator
Does this work with rails 1.0 ? I saw that people said it failed with rails 14.1, which
practically identical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060125/5da24694/attachment.html
2006 Jan 12
4
Domain Registration -- Private ?
The domain registration companies are pushing an add-on called ''Private Registration''
where they keep your email and other personal info secret to prevent spam. Is this a good
deal? Is it needed? Do you have it? Do you wish you did?
Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: