You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over at ruby/ruby, we sometimes have a situation in documentation where certain details may or may not be important to a few readers, but will be irrelevant to many.
E.g., @peterzhu2118 and I are looking at "Hash Equality and Inclusion", whose details may be important to a few but will be irrelevant to many. One of us thinks that info should be at a link; the other thinks it should be included inline.
There may be many other such.
Casting that info as <details><summmary>...</summary>...</details> would be a perfect solution. See <summary>.
Failing that, a weaker alternative would be support for <small>; see <small>.
In either case, support for embedded bold would be important (to give structure without adding headings), along with italic and monofont.
Activity
olleolleolle commentedon Feb 6, 2025
(I edited the links to descriptions of summary and small elements so that they render clearer here.)
MDN pages about same elements:
BurdetteLamar commentedon Nov 25, 2026
This lack is particularly annoying: RDoc generates these elements, but does not allow them.