Menu

#8 directive image:: :link:

closed-accepted
None
5
2004-01-04
2003-10-12
No

To create a clickable image (to make previews easier).

example ::

.. image:: mini.jpg
:link: maxi.jpg

The same patch duplicates the class attribute on the
enclosing paragraph to allow stylesheets to act on the
anchor tag.

the previous generated pseudo code::

<p>
<img class="">

with the patch::

<p class="">
<a>
<img class="">

Discussion

  • Nicolas Chauveau

     
  • David Goodger

    David Goodger - 2004-01-04

    Logged In: YES
    user_id=7733

    The idea has been implemented, although in a different way
    from the original patch. The place for most of the work is
    in the parser, not the writer (which only needed minor changes).

    The class-attribute duplication part was not implemented.
    The rationale is unclear and ought to be brought up separately.

     
  • David Goodger

    David Goodger - 2004-01-04
    • assigned_to: nobody --> goodger
    • status: open --> closed-accepted
     

Log in to post a comment.