Attach toggle behaviour to the code expand/collapse button.
The .code-block container element.
Group consecutive code blocks into tabbed containers with language sync.
Initialize all un-initialized code blocks on the page.
Attach copy-to-clipboard behaviour to a code block.
The .code-block container element.
The <pre> element containing the code text.
Attach copy behaviour to diagram container copy buttons.
Attach download behaviour to a code block's download button.
The .code-block container element.
The <pre> element containing the code text.
Attach fullscreen toggle and Escape-key handler to a code block.
The .code-block container element.
Exit fullscreen on the currently active code block.