Search code examples
ruby-on-railsmarkuptextileredcloth

Textile question: redcloth anchor links


How do I write this in textile (i'm using the redcloth gem)

<a href="#tips">Visit the Useful Tips Section</a>
<a name="tips">Useful Tips Section</a>

I know the first part, "Visit the Useful Tips Section":#tips but how do I make the named anchor?

Thanks!

Deb


Solution

  • h1(#tips) Useful Tips Section. -- Achieves the same effect (with some css)