# 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:** 19

<div class="post-metadata">

**Author:** ![freethebit](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/freethebit/32/8908_2.png) [@freethebit](https://discourse.gohugo.io/u/freethebit)\
**Post date:** [June 15, 2019, 2:05am UTC](https://discourse.gohugo.io/t/rendering-code-blocks-properly-from-md-files/19126/19 "2019-06-15T02:05:42Z")

</div>

It helps in one way but mess up the hole thing,

````
- Item 1

- Item 2

    ```zzz
    code
    ```

- Item 3

````

It make ‘item 3’ as sub level of ‘item 2’. The expected result was the code to be inside ‘item 2’.

Without the ‘zzz’ the thing keep it well formatted.

---

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