Rob Gibbens
Rob Gibbens

Reputation: 1142

Change Visual Studio html text font color

Can I change the font color and background for the plain text in an HTML/Razor page in the Visual Studio editor?

<h1>Highlight this plain code</h1>

I've tried the "Plain Text" setting, but that changes EVERYTHING.

Upvotes: 3

Views: 2482

Answers (2)

Jaad Chacra
Jaad Chacra

Reputation: 569

For VS 2017, go to Tools -> Options -> Environment -> Fonts and Colors and select what you want to change from Display items (ex: the HTML element) and select the color

Upvotes: 1

Rono
Rono

Reputation: 3361

It is actually the Plain Text option. I changed the color for that and text within h1 blocks changed to it, along with all other plain text in the HTML. Not sure what you mean by it changing everything, as it did not change color for HTML elements.

Upvotes: 2

Related Questions