Style Insight for non-referenced css files

Posted:
Sat Dec 29, 2012 10:29 am
by KBeng
As I work a lot with html code template snippets where isn't any reference/link to a css file, I can't use the style insight feature for e.g. css classes. It would be nice to have a feature to include all css files in a site or a certain folder.
Re: Style Insight for non-referenced css files

Posted:
Sun Dec 30, 2012 6:58 am
by TopStyle Support
Good news: there is an undocumented feature for this.
You'll need to create a file named TopStyle.cfg in the directory where your HTML doc is.
This TopStyle.cfg should look something like this:
[links]
C:\Users\svanas\Desktop\1.css
C:\Users\svanas\Desktop\2.css
You can add as many links to other style sheets as you like. Here are the rules:
* they need to be under the [links] section
* a relative path should start with ./ or .\
* they need to exist