# Facing difficultly in show code

**URL:** <https://talk.jekyllrb.com/t/facing-difficultly-in-show-code/751>\
**Category:** Help\
**Created:** [July 7, 2017, 11:01am UTC](https://talk.jekyllrb.com/t/facing-difficultly-in-show-code/751 "2017-07-07T11:01:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [July 7, 2017, 11:01am UTC](https://talk.jekyllrb.com/t/facing-difficultly-in-show-code/751/1 "2017-07-07T11:01:45Z")

</div>

How we can show the code on the website?

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [July 7, 2017, 3:51pm UTC](https://talk.jekyllrb.com/t/facing-difficultly-in-show-code/751/2 "2017-07-07T15:51:05Z")

</div>

you mean a snippet of raw code?

When you ask a question it is helpful if you include more detail and an example of what you have tried, and a link to your repo if possible.

What have you tried? using markdown or html?

One way is to use `{% raw %}` and `{% endraw %}`

Here is another way in the docs:

> **[Posts](https://jekyllrb.com/docs/posts/)**
>
> Blogging is baked into Jekyll. You write blog posts as text files and Jekyll provides everything you need to turn it into a blog.
