Getting Code into the Help Center

Just in case this proves helpful down the line. The bulletproof way I have settled on for getting code pasted into the help center is via code fencing.

Start with three backticks followed by the appropriate language (hugo for templates, markdown for content, css for stylesheets, etc.)

``` hugo

Follow that with your pasted code

{{ printf "what up?" }}

and then end the fencing with the three more backticks

```

Voila, syntax highlighted code

{{ printf "what up?" }}