Jump to content

Template:Hbc

From KDE Community Wiki
Filename
typeset -gx beamMeUpScotty
 Template documentation [edit] [purge]

Block code with header.

  • Use {{Bc}} for a code block without a header.
  • Use {{Ic}} for inline code.

Usage

Parameters

  • 1 or head: the code in the top pane
  • 2 or output: the code in the bottom pane

Examples

  • With fully named parameters:
    {{Hbc|head=main.h|output=#include <stdio.h>}}
    
  • Without parameter names:
    {{Hbc|main.h|#include <stdio.h>}}
    

Result

main.h
#include <stdio.h>