Documenting Shortcodes

I need to create a howto page where we describe how the shortcodes are being used in the site.

For example I have an accordion Shortcode:

{{%accordion %}}
{{%accord title=“Java”%}}


private int age;
private String name;
 

{{%/accord%}}

{{%accord title=".Net"%}}

...
{{%/accord%}}
{{%/accordion%}}

How can I display this code as text ?

See https://github.com/spf13/hugo/blob/master/docs/content/extras/shortcodes.md

For example.

Also note the difference between {{% and {{<.

had a look at that but did not realize the syntax … my bad

tks