Hi, Does anyone know about a Markdown parser (or why not textile) that can automatically interpret a string that looks like "http://..." as a hyperlink? I find it painful to type the square brackets and the parenthesis when I just want to enter a short url that speaks for itself. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jan 8, 8:17 pm, Fernando Perez <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > Does anyone know about a Markdown parser (or why not textile) that can > automatically interpret a string that looks like "http://..." as a > hyperlink? >rdiscount claims to do this, although I''ve never used that particular feature. It''s pretty fast too. Fred> I find it painful to type the square brackets and the parenthesis when I > just want to enter a short url that speaks for itself. > > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks! I am currently using rdiscount but had missed that feature when reading the docs. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You can also use the ruby helper autolink() on the return from whatever parser you use.> ------------------------------------------------------------------------ > > Fernando Perez <mailto:lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > January 8, 2011 3:23 PM > > > Thanks! I am currently using rdiscount but had missed that feature when > reading the docs. > > ------------------------------------------------------------------------ > > Fernando Perez <mailto:lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > January 8, 2011 2:17 PM > > > Hi, > > Does anyone know about a Markdown parser (or why not textile) that can > automatically interpret a string that looks like "http://..." as a > hyperlink? > > I find it painful to type the square brackets and the parenthesis when I > just want to enter a short url that speaks for itself. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> You can also use the ruby helper autolink() on the return from whatever > parser you use.rdiscount will be faster so I''ll use it for that purpose, thanks for the tip though; I never knew about that method before. You can''t imagine how easier my life has just become! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.