DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Set The Class Attribute Of A Link In Textile / RedCloth

04.16.2010
| 3648 views |
  • submit to reddit
        The RedCloth documentation is a bit sparse about applying classes. All examples use html tags like p or span. But it's also possible to set the class of indirectly generated tags, like images:

"(classname)link description":http://www.yourlink/