The :samp: role formats text as literal, but unlike to literal text formatting (``...``) it allows to emphasize variable parts. For example, in ``\xhh`` all letters are in the same font, but in :samp:`\x{hh}` the variable part hh is emphasized in italic.
It is the same as the :file: role, but without additional semantic.
Linked PRs
The
:samp:role formats text as literal, but unlike to literal text formatting (``...``) it allows to emphasize variable parts. For example, in``\xhh``all letters are in the same font, but in:samp:`\x{hh}`the variable part hh is emphasized in italic.It is the same as the
:file:role, but without additional semantic.Linked PRs
:samp:syntax #110073:samp:syntax (GH-110073) #110095