Oznámení

Provoz fóra byl ukončen

Image with description as a definition list

před 13 lety

archetwist
Člen | 6

It would be great if one could insert an image and it's description as a definition list item. Example:

<dl class="image">
  <dt><img src="image.png" alt="" /></dt>
  <dd>Image description</dd>
</dl>

I am using this technique extensively at my site and would like a simpler way to insert such code, with [* image.png *] --- Image description for example.

I think this approach is more ‚semantic‘ than existing one (with div as a container). More about the matter in the Definition lists – misused or misunderstood? article by Russ Weakley.

před 13 lety

David Grudl
Nette Core | 6806

ok, I'll implement this in the next version.

před 13 lety

archetwist
Člen | 6

:)