kramdown.rb, line #184 specifies that the script, pre and code element have raw text, so that no smart typographical conversions are made (-- to en-dash etc).
I believe this list of elements should also include kbd. Otherwise, long-form commandline options (e.g. --version) need to be escaped:
Ruby may already be installed on your system. To check, open a terminal window
and type <kbd>ruby \--version</kbd>.
Without the backslash, the -- is turned into an en-dash.
kramdown.rb, line #184 specifies that the
script,preandcodeelement have raw text, so that no smart typographical conversions are made (--to en-dash etc).I believe this list of elements should also include
kbd. Otherwise, long-form commandline options (e.g.--version) need to be escaped:Without the backslash, the
--is turned into an en-dash.