Hi
I’ve made a shortcode and writing some notes about in a markdown file - and I’m writing some examples on how to use my shortcode - but how do i code fence the examples so shortcode isn’t activated and I can then show the user what to put in their markdown file … Like what is on the doc page https://gohugo.io/templates/shortcode-templates/
I’ve tried code blocks and syntax-highlighting but the shortcodes still get processed.
Thanks
Have a look at these two sections in the content documentation (you linked the templates section, there is another shortcode docu in Content Management):
As far as I understand your question this should solve your issue. If not - post samples 
Hi thanks for the reply
What I want to do is include a shortcode in markdown but not have it processed
so how do I make this example show as code/ raw text (instead of embedding the video)
{{< youtube 09jf3ow9jfw >}}
cheers
Damien
I remember that was a topic recently… Try searching for it. There was some kind of commenting going on. Like {{/*< shortcode >*/}} but I am not sure and have no notes about it. Going on search too…
Thanks
I had to go with {{< and shortcode >}} for writing my shortcode…
Then wrapped it in in nohighlight shortcode so it looks better
{{< nohighlight >}}
{{< shortcode >}}
{{< /shortcode >%}}
{{< /nohighlight >}}