Restructured Text - adding title attributes to links
- by Ant
Hi all,
I am trying to use a jquery lightbox implementation on my website that is generated from Restructured Text. The lightbox takes the title of the link around the images as the caption of the image in the lightbox display.
However, I can't seem to find a way in Restructured Text of providing a title attribute on a link - does anyone know of a way of doing so. My Images are defined like so:
.. image:: image001.thumb.jpg
:alt: Some alt text here
:target: image001.jpg
So I can add an alt attribute, but not a title. A possible alternative may be to use a target as the reference like so:
.. image:: image001.thumb.jpg
:alt: Some alt text here
:target: image1_
.. _image1: image001.jpg
In this latter case, I am not sure how to add attributes to the link defined at the bottom (if it is possible at all)