Code Block
A styled code block with clipboard functionality.
Props
-
code
(str) the code you want displayed -
prefix
(enum {"numbered", "dollar", "terminal"}) prefix for each line of code -
language
(enum {"go", "hcl", "javascript", "sentinel", "shell"}) syntax highlighting for code block