# How to add code block example in documentation

**URL:** <https://community.postman.com/t/how-to-add-code-block-example-in-documentation/60475>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [April 30, 2024, 6:15am UTC](https://community.postman.com/t/how-to-add-code-block-example-in-documentation/60475 "2024-04-30T06:15:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratimamariserla](https://avatars.discourse-cdn.com/v4/letter/p/c5a1d2/32.png) [@pratimamariserla](https://community.postman.com/u/pratimamariserla)\
**Post date:** [April 30, 2024, 6:15am UTC](https://community.postman.com/t/how-to-add-code-block-example-in-documentation/60475/1 "2024-04-30T06:15:05Z")

</div>

> Your question may already have an answer on the Postman Community Forum. Please [search](https://community.postman.com/search) for related topics to avoid duplication. 🙏

> Please read through these [guidelines](https://community.postman.com/t/how-to-best-ask-questions-on-community-to-get-the-answers-you-need/16912) before creating a new topic.

Here’s _some_ information to include when creating your question:

- **Descriptive Title** : Write a title that summarizes the specific problem, this shouldn’t be the same as the full question.
- **Introduce The Question** : Explain how you encountered the problem you’re trying to solve and the steps you’ve taken to resolve the issue.
- **Additional Data** : Include additional data that might help someone reproduce your issue - for example, code, collections, data dumps, console errors, screenshots or gifs. Ensure all code snippets are placed within a code block.
- **Platform Details** : Which Postman App, Web Platform, and Operating System version you are using. You can see this in under _Settings → About_.
- **Tags** : Add up to 5 tags so people can search for answers to similar questions.

> ⛔ Do **NOT** include sensitive information like auth tokens or passwords.  
> when I am adding code block example in documentation, outcome is disorganised.

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [April 30, 2024, 1:18pm UTC](https://community.postman.com/t/how-to-add-code-block-example-in-documentation/60475/2 "2024-04-30T13:18:41Z")

</div>

Closed on April 30, 2024, 1:18pm UTC


