模板:Hc/doc

来自康健生活
Kangkk​(留言 | 贡献)2020年2月18日 (二) 14:30的版本 (创建页面,内容为“{{DISPLAYTITLE:Template:hc}} Block code with header. * Use Template:bc for block code without header. * Use Template:ic for inline code. ==Usage== * {{ic…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)


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>