We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d0548 commit cce9156Copy full SHA for cce9156
css-highlight-api-1/Overview.bs
@@ -229,6 +229,10 @@ Registering Custom Highlights</h3>
229
The <dfn>custom highlight name</dfn> assigned to a [=custom highlight=] when it is [=registered=]
230
is used to identify the highlight during styling (see [[#styling-highlights]]).
231
232
+ Note: When registering a [=custom highlight=], authors are recommended to use a
233
+ [=custom highlight name=] that is a valid CSS [=identifier=]. Using a name that is not a valid
234
+ identifier can make the highlight hard, and in some cases impossible, to style via CSS.
235
+
236
<h2 id=styling-highlights>
237
Styling Custom Highlights</h2>
238
0 commit comments