File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -266,15 +266,15 @@ Registering Custom Highlights</h3>
266266 </xmp>
267267
268268 In the example above,
269- the same [=custom highlight=] object is [=registered=] under the names ' foo' and ' bar' .
269+ the same [=custom highlight=] object is [=registered=] under the names <code> foo</code> and <code> bar</code> .
270270 Since each of the [=style rules=] target the same highlight and have the same [=specificity=] ,
271271 authors might expect the last rule to win in cascading order
272272 and the highlighted content to be green.
273273 However, each highlight name gets an independent set of highlight styles,
274274 and the highlight will be painted once per name.
275- In this case, because ' foo' was registered before ' bar' ,
276- the highlight will be first painted with ' foo' 's color (green)
277- and then with ' bar' 's color (red).
275+ In this case, because <code> foo</code> was registered before <code> bar</code> ,
276+ the highlight will be first painted with <code> foo</code> 's color (green)
277+ and then with <code> bar</code> 's color (red).
278278 As a result, the highlighted content will appear red.
279279 </div>
280280
You can’t perform that action at this time.
0 commit comments