Are you working within the HubSpot emails tool in a rich text editor? If so, you can highlight the text and in the editor bar you can select More and get into the source code and add code that will highlight the the personalization code yellow.
ie. my source code for my text editor is this:
<p style="text-align: center;">Join your new course today! <span style="color: #ff0201;">{{ personalization_token('company.about_us', 'hi') }}</span></p>
I added code to highlight the personalization yellow:
<p style="text-align: center;">Join your new course today! <span style="color: #ff0201; background-color: yellow;">{{ personalization_token('company.about_us', 'hi') }}</span></p>
Are you working within the HubSpot emails tool in a rich text editor? If so, you can highlight the text and in the editor bar you can select More and get into the source code and add code that will highlight the the personalization code yellow.
ie. my source code for my text editor is this:
<p style="text-align: center;">Join your new course today! <span style="color: #ff0201;">{{ personalization_token('company.about_us', 'hi') }}</span></p>
I added code to highlight the personalization yellow:
<p style="text-align: center;">Join your new course today! <span style="color: #ff0201; background-color: yellow;">{{ personalization_token('company.about_us', 'hi') }}</span></p>
@JKing72 Are you referring to formatting the text after the personalization token is applied to the email (i.e. first name is Jennifer, then Jennifer would be highlighted yellow with a different font color) or are you wanting to highlight the placeholder for the personalization token?
replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot
Good question - I would like the text pulled in to be a different color (red) and highlighted (yellow). Since I posted I figured out how to change the text color(by highlighting the personalization token and choosing the red font - even though it doesn't appear to change it in the workspace it delivers the email correctly). So now just stuck on how to get that item to be highlighted yellow. Thanks!
@JKing72 Like @Jnix284, I want to understand as well. If I'm receiving your marketing email, will I see my name in red with a yellow highlight? @JWingate2 has a solution I think will work. I'm wondering if that's the case, what's the reasoning behind it. Not to sound judgemental, just out of curiosity.
Did my answer help? Please "mark as a solution" to help others find answers. Plus I really appreciate it!
I use all tools available to help answer questions. This may include other Community posts, search engines, and generative AI search tools. But I always use my experience and my own brain to make it human.
Sure thing! The email I am sending is a welcome email to those who have subscribed to an app, and thus need a license code along with links to training resources. I was tasked with mocking up a few iterations of said email for those supervising the project, with direction to make the code "stand out" as those with previous non-highlighted/color coded license codes had trouble identifying the code within the email (even though it is step by step formatted). With all that being said, I had three iterations I wanted to send to the supervisors so they can choose which they prefer:
@JKing72 totally makes sense. I think @JWingate2's solution should work for you then.
Did my answer help? Please "mark as a solution" to help others find answers. Plus I really appreciate it!
I use all tools available to help answer questions. This may include other Community posts, search engines, and generative AI search tools. But I always use my experience and my own brain to make it human.