Displaying 20 results from an estimated 8000 matches similar to: "undefined method 'markdown'"
2012 Jun 16
0
markdown gem - Markdown Engine Wrapper - Use Your Markdown Library of Choice in Ruby
Hello,
I've created a markdown gem in Ruby that lets you use your markdown
library of choice. Preconfigured markdown libraries include: kramdown,
redcarpet, bluecloth, maruku, rpeg-markdown, rdiscount, pandoc-ruby.
Usage in your Ruby code:
require 'markdown'
Markdown.new( 'Hello World' ).to_html
The gem also includes a little command line tool. Try markdown
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
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
2008 Aug 09
0
peg-markdown (C) and rpeg-markdown (ruby gem)
Markdowners:
I've released version 0.4.1 of peg-markdown, a C implementation of
markdown. peg-markdown uses Ian Piumarta's peg/leg parser generator to
generate a parser from a parsing expression grammar (PEG). You can
inspect the grammar for markdown at
http://github.com/jgm/peg-markdown/tree/HEAD/markdown_parser.leg
peg-markdown now provides both a C library and a standalone
2009 Feb 05
0
Slide Show (S9) Gem V0.7 - Better Support for More Markdown (Ruby) Libs and More
Hello,
== What's new in 0.7?
I removed the dependency on Maruku (and Oniguruma) and now allow and
check for optional installed Markdown libraries/gems. For now the
search order for markdown libraries is first come, first serve, that
is:
rdiscount > rpeg-markdown > maruku > bluecloth (fallback, always
present because it's required in gem spec).
If you want to use
2006 Aug 09
0
load_paths on godaddy hosted account
I am trying to get typo to load on my godaddy account. I''ve loaded
other home grown apps and they work. I get issues when trying to load
libraries from my vendor directory.
In my enviroment.rb I have
config.load_paths += %W(
vendor/rubypants
vendor/akismet
vendor/redcloth/lib
vendor/bluecloth/lib
vendor/flickr
vendor/syntax/lib
vendor/sparklines/lib
2009 Sep 14
0
markdown call prompts "uninitialized constant ActionView::Helpers::TextHelper::Markdown" in upgraded application
Hey All,
I''m attempting to upgrade my app from rails 2.0.2 to 2.3.3. One bit that''s failing is this call here (in /views/projects/show.html.erb)
<%= markdown(@project.description) %>
That earns me a:
uninitialized constant ActionView::Helpers::TextHelper::Markdown
On that line.
I''m on a rebuilt machine (windows xp, ruby 1.8.6) so I thought it was a
2005 Dec 16
0
auto_link fails to handle tilda''s (~) and markdown fails to handle acute accent (`)
Hi There,
So I was just having some trouble with auto_link and markdown.
Specfically auto_link was failing to handle urls with tildas in them (~)
e.g.
http://www.hawaii.edu/~name/index.html
and 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:
2006 Dec 27
4
Maruku: a better Markdown interpreter for Ruby.
Hello to all!
Maruku is a Markdown interpreter written in Ruby. It is released under the GPL.
Maruku implements the original Markdown syntax and all the
improvements in PHP Markdown Extra. Moreover, it implements some ideas
from MultiMarkdown, and adds a syntax for specifying metadata for
block elements.
Unlike Bluecloth, Maruku creates an in-memory representation of the
document tree, and this
2007 Feb 05
0
superclass mismatch for class OrderedOptions (TypeError)
ngw@adreadedsunnyday ~/projects/hotchalk$ script/server
./script/../config/boot.rb:28:Warning: require_gem is obsolete. Use
gem instead.
/opt/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:606:
superclass mismatch for class OrderedOptions (TypeError)
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
from
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 Mar 17
0
Installed Gems on godaddy.com
Hi, is there a core list of gems that one needs to install in a production
environment? Anyways, here''s a current list of installed gems on
godaddy.com:
Gems *actionmailer 1.0.1* [www] <http://www.rubyonrails.org/> - depends on
actionpack <http://www.situationman.com/_h_admin_/gems.html#actionpack>.
Service
layer for easy email delivery and testing.
*actionmailer 1.1.5*
2008 Mar 22
7
Babelmark
I'm currently attempting to write a spec for parsing Markdown Extra,
and since one goal is to minimize the differences in output between
implementations, I've made a tool allowing me to compare who does what
for any given input. I hope this can also facilitate future
discussions about the syntax.
So here's Babelmark, a testbed for various Markdown implementations
were you
2011 Feb 08
2
two lists without separating text (corner case?)
First we consider two lists with different type:
- foo
- bar
1. first
1. second
There are two interceptions:
a. one unordered list
b. one unordered list followed by one ordered list
Implementations conforming to a:
- Markdown.pl
- Python Markdown
- BlueCloth
- MarkdownJ
- markdown.lua,
- Showdown
Implementations conforming to b:
- PHP Markdown
- Text::Markdown
- Maruku
- Pandoc
- Discount
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
2005 Jan 07
5
Instiki 0.9.2
Instiki 0.9.2 has arrived.
* The notorious "rollbacks by crawlers" bug fixed.
* Instiki is distributed as a gem (experimental)
* New maintainer (yours truly)
* Assorted other minor changes
Best regards,
Alexey Verkhovsky
=============
Don''t shoot the pianist, he''s doing his best
README
Path:
README
Last Update:
Fri Jan 07 10:06:43
2007 Feb 20
6
Markdown and Wikis
I would like to have a wiki that uses Markdown as the markup
language (or something very close), I've currently used PmWiki
and I really like it but there are some problems with using
Markdown so I'm interested to see if there is an alternative
that works better for me.
I've looked at wiki matrix and searched for and found the
following list
bitweaver, DekiWiki, DokuWiki, Friki,
2006 May 31
0
acts_as_blog
ActsAsBlog
==========
Here is a simple plugin to allow you to allow the use of
RedCloth,BlueCloth, or SmartyPants in your blog.
It''s super simple to use. It will take your blog post or comment and
transform it into html.
This allows you to write in a much simpler syntax and allows your users
to post valid html into their comment.
It also allows you to block all html tags that
2006 Jan 02
0
problem with ruby gem activate when trying to run actionpack tests
Hi There,
so I worked out what I should be doing to try and contribute code to
rails (I''m currently working on patches for collection_select and
auto_link).
I''m following the instructions here:
http://dev.rubyonrails.org/
and have checked out actionpack. Trying to run the actionpack tests I
get this error:
D:\User\Code\ruby\actionpack\test>ruby controller/base_test.rb
2011 Mar 28
0
undefined method "load_paths" for ActiveSupport::Dependencies:Module Error
I''m writing a Rails plugin from scratch and recently generating models
inside it.
In fact, i''m trying to follow the guide from http://guides.rubyonrails.org/plugins.html
so i used the following code taken from this site in order to make the
models appear like files in the main app directory (as it was said)
this is the code:
%w{ models }.each do |dir|
path =