<rewrite pass="code" />

<head>
  <link rel="stylesheet" href="../assets/rewrite/code_block.css">
</head>
<!-- 
Inline var could be used:
- {content-light} - content of the highlighted code for light 
- {content-dark} - content of the highlighted code for dark
-->
<body>
  <pre color-scheme="light"><code>{content-light}</code></pre>
  <!-- will set `display: none` based on the viewer's color-scheme, impl by ../assets/rewrite/code_block.css  -->
  <pre color-scheme="dark"><code>{content-dark}</code></pre>
</