code
code
Custom. Create codeblocks using local files.
Table of Contents
Hugo Shortcode
Note that the relative path is from the root of the Hugo project rather than relative to the project’s /content directory.
{{< code lang=bash file="/content/about/contributing/shortcodes/denyWildcardJITSecurityRules.sh" >}}
Example
Source: https://icy-island-077f0c303-135.westeurope.4.azurestaticapps.net/about/shortcodes/code/
Printed: