Access Code Preferences
From any design first click the cog button and choose a code language you want to adjust.
Then you can customise the code template by selecting Template settings.

Adjust Code Preferences
On the left side you can adjust font-size units, define font-size base value, show/hide comments in code, tweak line-height and more.
On the right side you can select code properties you want to be shown in the code panel. You can also drag the properties to reorder them in the code output.

How to import/export variables?
To customize Inspect even more you can create variables or import a list of the ones that you'd like to use across the whole project.