From: Michał G. <mg...@ge...> - 2012-09-03 14:10:38
|
On Mon, 3 Sep 2012 12:56:00 +0000 (UTC) Guenter Milde <mi...@us...> wrote: > 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.) If I wanted to hack it around, I'd just do that and not e-mail the list. I just see a potential improvement which could benefit users. > Unless there is a strong indication of real benefits in real use > cases, it is unlikely to become a pre-defined role. Like scientific papers, articles, tutorials and so on? -- Best regards, Michał Górny |