# I want to have different colors for certain attributes

**URL:** <https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952>\
**Category:** Help Hub\
**Tags:** markdown\
**Created:** [August 2, 2019, 9:36pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952 "2019-08-02T21:36:10Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdavis](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bdavis](https://community.postman.com/u/bdavis)\
**Post date:** [August 2, 2019, 9:36pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/1 "2019-08-02T21:36:10Z")

</div>

I think this is called markdown sorry I am new so for the JSON Below Is like Address to to be required and be blue  
where address2 I would want it to be red

```
{
   "Addresses":[
      {
         "AddressType":"Home",
         "Address":"4600 S. Ulster St.",
         "Address2":"",
         "City":"Denver",
         "State":"CO",
         "ZipCode":"80237",
         "Country":"USA",
         "IsDefault":"True"
      }
   ]
}
```

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [August 3, 2019, 7:31am UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/2 "2019-08-03T07:31:04Z")

</div>

Hey @bdavis,

Welcome to the community 👋

It’s unclear from your question what you’re asking, would you be able to provide some context please?

---

<div class="post-metadata">

**Author:** ![bdavis](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bdavis](https://community.postman.com/u/bdavis)\
**Post date:** [August 5, 2019, 3:13pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/3 "2019-08-05T15:13:22Z")

</div>

For example with the image below I would liuke all the fields that are Editable to be the same color.  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/b/ebb0c0beec55f1d99784ff52ec3b4c352cad82dc.png)

---

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [August 6, 2019, 3:37pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/4 "2019-08-06T15:37:33Z")

</div>

Markdown typically doesn’t let you choose the color for specific pieces of text.

There is some markdown functionality that lets you define the language for syntax highlighting though. You can reference some good markdown specs [here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code).

Do you want it colored on your documentation generated through Postman? Or are you looking for somewhere else?

---

<div class="post-metadata">

**Author:** ![bdavis](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bdavis](https://community.postman.com/u/bdavis)\
**Post date:** [August 7, 2019, 10:02pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/5 "2019-08-07T22:02:53Z")

</div>

Hey Allen I would like to be able to color items that are required versus optional. to start

---

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [August 8, 2019, 12:37pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/6 "2019-08-08T12:37:45Z")

</div>

I don’t think you will be able to do that. It really depends on the markdown renderer you are using.

Check out this [StackOverflow article](https://stackoverflow.com/a/35485694/10256785) for reference

---

<div class="post-metadata">

**Author:** ![bdavis](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bdavis](https://community.postman.com/u/bdavis)\
**Post date:** [August 8, 2019, 2:46pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/7 "2019-08-08T14:46:16Z")

</div>

Then what would be the most helpful to try and accomplish showing differences between optional and required.

---

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [August 8, 2019, 3:00pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/8 "2019-08-08T15:00:12Z")

</div>

Are you trying to show this in your published Postman documentation?

Oftentimes what people do is create a table in markdown with the parameters and denote the data types of the fields and if they are required.

| Field Name | Type | Required |
| --- | --- | --- |
| ClientId | Number | Yes |
| Status | Number | Yes |
| FirstName | String | No |
| MiddleName | String | No |

etc…

---

<div class="post-metadata">

**Author:** ![bdavis](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bdavis](https://community.postman.com/u/bdavis)\
**Post date:** [August 8, 2019, 3:25pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/9 "2019-08-08T15:25:06Z")

</div>

That would work…Is there a example markdown table you could point me to?

---

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [August 8, 2019, 3:37pm UTC](https://community.postman.com/t/i-want-to-have-different-colors-for-certain-attributes/6952/10 "2019-08-08T15:37:49Z")

</div>

Yeah, the first link I sent you on markdown has how to build a table, but [here is the anchor link](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#tables) to the table section.
