anammari / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Syntax for classes in link definitions #193

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I miss being able to apply a class of
my choice to a link or image.  I therefore
suggest a syntax for that like so:

    blah [link text] blah ![image]

    [link text]: url "title" {class}
    [image]: url "title" {class}

It might perhaps be best to restrict this to
reference links. [text](url "title" {class})
as an inline link looks a bit heavy.

Original issue reported on code.google.com by bpjonsson@gmail.com on 7 Jan 2010 at 12:57

GoogleCodeExporter commented 8 years ago
Perhaps one could have both arbitrary IDs and arbitrary
classes by borrowing CSS syntax:

    [image]: url "title" {#id .class}

Original comment by bpjonsson@gmail.com on 7 Jan 2010 at 1:52