Skip to content
My shortcode for Code

My shortcode for Code

19 de abril de 2026

This shortcode is useful when you want to display raw code without syntax highlighting or automatic formatting from Hugo. It ensures the output is rendered exactly as written.

Usage

The following example shows how to use the shortcode and its rendered output.

Code

{{< code >}}
public String toString() {
    return null;
}
{{< /code >}}

Result


public String toString() {
    return null;
}
Last updated on