Skip to content

Typing Code Block

Syntax highlighted code with typing effect.

Theme an embed without editing the bit: put data-variable-values on the data-composition-src element, or bake new defaults into the installed copy with --set.

IdTypeDefaultLabel
colorcolor#dcdcaaFunction color
backgroundcolor#1e1e1eBackground
<div data-composition-src="compositions/typing-code-block.html" data-variable-values='{"color":"#dcdcaa","background":"#1e1e1e"}'></div>
Terminal window
npx @av/hyperbits add typing-code-block --into compositions/ --set "background=#0b1020"