language The syntax language. The default is plaintext. Default suported languages html|css|js.
-
content-selector A CSS selector to specify the content element. The default is the element itself.
+
language The syntax language. The default is plaintext. Default suported languages html|css|js.
+
content-selector A CSS selector to specify the content element. The default is the element itself.
@@ -168,7 +169,7 @@
Configuration
* @type {object}
* @property {string[]} languages - List of languages to support for syntax highlighting.
* @property {string[]} tokenTypes - Token types used during lexing/parsing.
- * @property {{[key: string]: string[]}} languageTokens - Mapping of language names to their specific tokenization rules.
+ * @property {[key: string]: string[]} languageTokens - Mapping of language names to their specific tokenization rules.
* @property {function} setup - Runs before the custom element gets defined in the registry.
* @property {function} tokenize - Tokenize text based on the specified language grammar
*/
@@ -193,8 +194,8 @@