Use s instead of strike (#9131)

* Use s instead of strike

* Update docs
This commit is contained in:
Leilei332 2025-10-07 00:28:29 +08:00 committed by GitHub
parent 2405e65308
commit 15ba415a45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ exports.parse = function() {
// Return the classed span
return [{
type: "element",
tag: "strike",
tag: "s",
children: tree
}];
};

View file

@ -38,7 +38,7 @@ The full list of KeyboardShortcuts can be found in the $:/ControlPanel -> ''Keyb
|Double underscores are used for `__underlined text__`|Double underscores are used for `<u>underlined text<u>` |
|Double circumflex accents are used for `^^superscripted^^` text |Double circumflex accents are used for `<sup>superscripted</sup>` text |
|Double commas are used for `,,subscripted,,` text |Double commas are used for `<sub>subscripted</sub>` text |
|Double tilde signs are used for `~~strikethrough~~` text |Double tilde signs are used for `<strike>strikethrough</strike>` text |
|Double tilde signs are used for `~~strikethrough~~` text |Double tilde signs are used for `<s>strikethrough</s>` text |
|Single backticks are used for ```code` `` |Single backticks are used for `<code>code</code>` |
|Double @ characters are used to create a `@@highlight@@` |Double @ characters are used to create a `<span class="tc-inline-style">highlighted</span>` |