Reputation: 860
I'm using HTML - CSS - JS Prettify Plugin and sometimes when I write CSS styles I like to put them next to the other, like this
h1, h2, h3, h4, h5, h6, .uk-h1, .uk-h3, .uk-h4, .uk-h5, .uk-h6
but when I prettify the file it puts each tag below the previous one turning this into a 11-lines tall segment. Is there a way to tell the plugin to avoid this kind of behavior?
Upvotes: 0
Views: 625
Reputation: 1338
Find where your Prettify lives in your menu and look for Set Prettify Preferences
.
Then find this line and make sure its set to false.
"newline_between_rules": false, // Add a new line after every css rule
Upvotes: 2