Skip to content

Commit 9a1eda4

Browse files
author
Renzo Kooi
committed
emphasize
1 parent 7193988 commit 9a1eda4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Demo/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,9 @@ function header() {
270270
target: "_blank",
271271
href: "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates",
272272
text: "tagged template"}),
273-
` [function] and can <i>only</i> be called as such (so <code>$re\`[regexp string]\`</code> and <i>not</i>
274-
<code>$re(\`[regexp string]\`</code>).`
273+
` [function] and can <i class="red">only</i> be called as such (so <code>$re\`[regexp string]\`</code> and
274+
<i class="red">not</i>
275+
<code><b class="red">$re(\`[regexp string]\`</b></code>).`
275276
),
276277
$.div({class: `b5`}, `The constructor result is actually a `,
277278
$.a({
@@ -285,7 +286,7 @@ function header() {
285286
$.h3({class: "head between"}, `Flags`),
286287
$.div({class: `b5`}, `Flags can be added using the instance flags method
287288
<code>[$re instance].flags(flags:string)</code> or (legacy) by adding an Array of
288-
flag strings as last replacement in the template string e.g.
289+
flag strings as <i class="red">last</i> replacement in the template string e.g.
289290
<code>$re\`[ABZ].+ \${[..."gu"]}\`</code>.`),
290291
$.div({class: `b5`},
291292
`To <b>remove</b> all flags use <code>[$re instance].flags(<b class="red">"-r"</b>)</code>`),

0 commit comments

Comments
 (0)