# Don't process shortcode in markdown - trying to show raw code

**URL:** <https://discourse.gohugo.io/t/dont-process-shortcode-in-markdown-trying-to-show-raw-code/26365>\
**Category:** support\
**Created:** [June 19, 2020, 12:02pm UTC](https://discourse.gohugo.io/t/dont-process-shortcode-in-markdown-trying-to-show-raw-code/26365 "2020-06-19T12:02:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![davidsneighbour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/davidsneighbour/32/24507_2.png) [@davidsneighbour](https://discourse.gohugo.io/u/davidsneighbour)\
**Post date:** [June 19, 2020, 12:48pm UTC](https://discourse.gohugo.io/t/dont-process-shortcode-in-markdown-trying-to-show-raw-code/26365/6 "2020-06-19T12:48:39Z")

</div>

> [@How is the Hugo Doc site showing shortcodes in code blocks?](https://discourse.gohugo.io/t/how-is-the-hugo-doc-site-showing-shortcodes-in-code-blocks/9074):
>
> Take [this as an example](https://gohugo.io/templates/shortcode-templates/#single-word-example-year). In the shortcode-template.md, the Markdown is: ### Single-word Example: `year` Let's assume you would like to keep mentions of your copyright year current in your content files without having to continually review your markdown. Your goal is to be able to call the shortcode as follows: ``` {{\</* year */\>}} ``` But in the rendered HTML, the /\* and \*/ comment characters are auto-removed! [image] Now when I paste ``` {{\</* year */\>}} ``` in my site’s content file,…

---

_[View the full topic](https://discourse.gohugo.io/t/dont-process-shortcode-in-markdown-trying-to-show-raw-code/26365)._
