# Rendering code blocks properly from .md files

**URL:** <https://discourse.gohugo.io/t/rendering-code-blocks-properly-from-md-files/19126>\
**Category:** support\
**Created:** [June 11, 2019, 1:14am UTC](https://discourse.gohugo.io/t/rendering-code-blocks-properly-from-md-files/19126 "2019-06-11T01:14:28Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![mojoa](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@mojoa](https://discourse.gohugo.io/u/mojoa)\
**Post date:** [June 12, 2019, 8:52pm UTC](https://discourse.gohugo.io/t/rendering-code-blocks-properly-from-md-files/19126/15 "2019-06-12T20:52:29Z")

</div>

> [@freethebit](#):
>
> My opinion on this: its ugly, I don’t use shortcodes for a reason, mix stuff that is not content to content. If I need to use shortcode, I do not use.

> [@kaushalmodi](#):
>
> I am in the same camp.

Could you elaborate a bit on this? Or provide a link to discussion on this topic?  
I am very curious about the reasoning for not using shortcodes. Thanks!

---

_[View the full topic](https://discourse.gohugo.io/t/rendering-code-blocks-properly-from-md-files/19126)._
