Template:hc

From DDraceNetwork
Revision as of 07:48, 14 August 2022 by Zwelf (talk | contribs) (Import hc template from https://wiki.archlinux.org/index.php?title=Template:Hc&oldid=616469)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Block code with header.

Usage

  • 1 or head: the code in the top pane
  • 2 or output: the code in the bottom pane
{{hc|main.h|#include <stdio.h>}}
{{hc|head=main.h|output=#include <stdio.h>}}

Example

main.h
#include <stdio.h>