Template:Hbc: Difference between revisions
Appearance
m Spacing in headers |
m Ashark moved page Template:Hc to Template:Hbc without leaving a redirect: For better rememberability (headed block code) |
(No difference)
|
Revision as of 11:03, 29 September 2023
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.
- Use Template:bc for block code without header.
- Use Template:ic for inline code.
Usage
1
orhead
: the code in the top pane2
oroutput
: the code in the bottom pane
{{hc|main.h|#include <stdio.h>}}
{{hc|head=main.h|output=#include <stdio.h>}}