From: David G. <go...@py...> - 2017-02-16 00:52:26
|
On Wed, Feb 15, 2017 at 6:33 PM, Alan Isaac <ala...@gm...> wrote: > Might consideration be given to adding a `kbd` standard role? What should :kbd:`text` do? > I realize I can use a custom role. But I am encountering the > need for this so often that I wonder if it other are in the > same situation, so that there might be support among the > developers for including this as a standard role. > (And if not something this specific, perhaps a simple > `span` role to inherit from?) What would :span:`text` do? Simple interpreted text roles are already equivalent to HTML <span> tags. Why would we add a "span" role? I'm really just curious here. > I realize that the multiplication of standard roles is not > desirable. True. You'll need to provide some rationale for development work beyond simple convenience. Especially when you can just write: .. role:: kbd David Goodger <http://python.net/~goodger> |