From: Guenter M. <mi...@us...> - 2012-09-03 12:56:23
|
On 2012-09-01, Michał Górny wrote: > I don't see in the docs_ any role suitable for a 'definition term'. > In simplest words, `the defining instance of the enclosed term` > or the HTML dfn_ element. Would it be feasible to add such a role > in rst? > .. _docs: http://docutils.sourceforge.net/docs/ref/rst/roles.html > .. _dfn: http://www.w3.org/TR/html4/struct/text.html#h-9.2.1 The usual way to add support for not-readymade roles is to define a custom role, e.g.:: .. role:: dfn (This would map to <span class=dfn> instead of the <dfn> element in HTML.) Unless there is a strong indication of real benefits in real use cases, it is unlikely to become a pre-defined role. Günter |