CodeBlock

CodeBlocks contain highlighted source code.

# CodeBlock

c
#include <stdio.h>
      
int main(void) {
    printf("Hello, world.");
    return 0;
}
html
<script>
  const code = `
#include <stdio.h>

int main(void) {
    printf("Hello, world.");
    return 0;
}`
</script>        
<CodeBlock {code} language="c" />