Skip to content

Strike

The strike mark is used to represent text with a strikethrough. It will be rendered as <s> element in HTML.

Commands

toggleStrike

ts
editor.commands.toggleStrike()

Keyboard Shortcuts

Non-AppleAppleDescription
Ctrl-Shift-X, Ctrl-Shift-SCommand-Shift-X, Command-Shift-SToggle the current selection to strike