Skip to content

Code

The code mark is used to represent a short fragment of computer code. It will be rendered as <code> element in HTML.

Commands

toggleCode

ts
editor
.
commands
.
toggleCode
()

Keyboard Shortcuts

Non-AppleAppleDescription
Ctrl-ECommand-EToggle the current selection to code

API Reference