You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><code>language</code> The syntax language. The default is <code>plaintext</code>. Default suported languages <code>html|css|js</code>.
159
-
<li><code>content-selector</code> A CSS selector to specify the content element. The default is the element itself.
159
+
<li><code>language</code> The syntax language. The default is <code>plaintext</code>. Default suported languages <code>html|css|js</code>.</li>
160
+
<li><code>content-selector</code> A CSS selector to specify the content element. The default is the element itself.</li>
160
161
</ul>
161
162
</section>
162
163
@@ -168,7 +169,7 @@ <h1>Configuration</h1>
168
169
* @type {object}
169
170
* @property {string[]} languages - List of languages to support for syntax highlighting.
170
171
* @property {string[]} tokenTypes - Token types used during lexing/parsing.
171
-
* @property {{[key: string]: string[]}} languageTokens - Mapping of language names to their specific tokenization rules.
172
+
* @property {[key: string]: string[]} languageTokens - Mapping of language names to their specific tokenization rules.
172
173
* @property {function} setup - Runs before the custom element gets defined in the registry.
173
174
* @property {function} tokenize - Tokenize text based on the specified language grammar
174
175
*/
@@ -193,8 +194,8 @@ <h1>Configuration</h1>
193
194
<sectiondata-section="content">
194
195
<h1>Credits</h1>
195
196
<ul>
196
-
<li><ahref="https://github.com/bramus" target="_blank" rel="noreferrer">Bramus Van Damme</a> and his <ahref="https://www.bram.us/2024/02/18/custom-highlight-api-for-syntax-highlighting" target="_blank">blog post</a> where I first read about using the <ahref="https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API" target="_blank">CSS Custom Highlight API</a> for syntax highlighting.
<li><ahref="https://github.com/bramus" target="_blank" rel="noreferrer">Bramus Van Damme</a> and his <ahref="https://www.bram.us/2024/02/18/custom-highlight-api-for-syntax-highlighting" target="_blank">blog post</a> where I first read about using the <ahref="https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API" target="_blank">CSS Custom Highlight API</a> for syntax highlighting.</li>
0 commit comments