How to add code block example in documentation

Your question may already have an answer on the Postman Community Forum. Please search for related topics to avoid duplication. :pray:

Please read through these guidelines 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.

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