Difference between revisions of "Template:Hc"
Jump to navigation
Jump to search
archwiki>Lahwaacz (revert the fix for lists because it has some problems) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 15:03, 1 July 2019
This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.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>}}
Example
main.h
#include <stdio.h>