a rails helper link? surround the haml similar to string interpolation. 

%p This is a valid haml paragraph with a #{link_to 'link', some_url}

or 

%p 
  This is a valid haml paragraph with a 
  = link_to 'link', some_url

Or just a straight up link

%p 
  This is a valid haml paragraph with a 
  %a{href=some_url} Link

On Wednesday, January 14, 2015 at 9:04:35 AM UTC-6, BeeRich33 wrote:
>
> Oops, didn't finish that sentence.  "...and it..." doesn't seem to work.  
>
> I'm new to this markup.  
>
> Thanks
>
> On Tuesday, January 13, 2015 at 10:35:10 PM UTC-5, BeeRich33 wrote:
>>
>> Hi folks.  Ran into something that breaks my server.  Turns out it's the 
>> HAML.  
>>
>> Can someone provide some quick syntax for a paragraph that has a link 
>> inside the text?  I've tried new lines, and it 
>>
>> Also, how can I break a paragraph without soft wrapping it?  
>>
>> Cheers
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haml+unsubscr...@googlegroups.com.
To post to this group, send email to haml@googlegroups.com.
Visit this group at http://groups.google.com/group/haml.
For more options, visit https://groups.google.com/d/optout.

Reply via email to