# Shortcode not working in markdown

**URL:** <https://discourse.gohugo.io/t/shortcode-not-working-in-markdown/11539>\
**Category:** support\
**Created:** [April 14, 2018, 4:23pm UTC](https://discourse.gohugo.io/t/shortcode-not-working-in-markdown/11539 "2018-04-14T16:23:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bussiere](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bussiere/32/5728_2.png) [@bussiere](https://discourse.gohugo.io/u/bussiere)\
**Post date:** [April 14, 2018, 4:23pm UTC](https://discourse.gohugo.io/t/shortcode-not-working-in-markdown/11539/1 "2018-04-14T16:23:21Z")

</div>

So in my theme i’ve made a :  
/layouts/shortcodes/myshortcode.html

and in my md file (content/posts/PtS/as.md) i’ve put :

> {{% myshortcode %}}Hello World!{{% /myshortcode %}}

but when it render it show me :

> {{% myshortcode %}}Hello **World!** {{% /myshortcode %}}

the shortcode seems not working but not error in the hugo server mode.

Edit : Found the solution. It was refreshing and deleting public folder.

Thanks
