模板:Hc/doc

来自康健生活
Kangkk​(留言 | 贡献)2020年2月21日 (五) 13:44的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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=<syntaxhighlight lang="bash">
#include <stdio.h></syntaxhighlight>}}

Example

main.h
#include <stdio.h>