Shortcodes

[intense_code]

Description

Adds a pre-formatted code section to the page. The content inside of the shortcode will be displayed as code.

Screenshots

code

Dialog

code

AttributeTypeDialog TitleDescriptionDefaultAvailable Values
colorcolor_advancedColormutedoption colors - primary, error, info, inverse, muted, success, warning, link

web color - hex, rgb, rgba, hsl, hsla, color name (see wikipedia web colors)
font_colorcolor_advancedFont Colorif left blank, either black or white will automatically be chosenoption colors - primary, error, info, inverse, muted, success, warning, link

web color - hex, rgb, rgba, hsl, hsla, color name (see wikipedia web colors)
border_radiusborder_radiusBorder Radius%, em, px - examples: 25% or 10em or 20px
inlinecheckboxInline1 = true, 0 = false

Examples

[intense_code]
function hello_world () {
    echo “Hello World”;
}
[/intense_code]