Template:Hbc-hl
Page Template:Hc-hl/styles.css has no content.
This page is a template, editing it will affect all the pages that make use of it, so users should be especially careful when editing it. For more details on how to use templates see "A Quick Guide to Templates"
Block code with header. With highlighted syntax.
- Use Template:hc for block code with header without highlighted sintax.
- Use Template:bc for block code without header.
- Use Template:ic for inline code.
Usage
1
orlang
: the language of code block, to apply highlighting2
orhead
: the code in the top pane3
oroutput
: the code in the bottom pane
{{hc|lang="c++"|main.h|#include <stdio.h>}}
{{hc|c++|head=main.h|output=#include <stdio.h>}}
See here for supported values for lang
.