04
Content
- The code exactly as it should run or be pasted.
- A title for a file or an event: qeet-id.config.ts, user.signed_in.
- Short: the lines that matter, not a whole file.
Code to read and copy: a command, a snippet, a JSON event or XML metadata, coloured, with one Copy button.
<pre>Server-rendered01
02
code-block-header<div>The title or the language, and Copy: for more than one line.copy<button>"Copy code": the code exactly, never the line numbers.region<section>The code: a named region that takes focus, so long lines scroll by keyboard.code<pre>Monospace, coloured by the code tokens; ligatures off.03
04