Parser icon indicating copy to clipboard operation
Parser copied to clipboard

Query, get css/sass/less source associated with a comment block

Open vidhill opened this issue 9 years ago • 0 comments

Is it possible to get the source associated/that follows a comment block e.g.

If I wanted to have my colour variables in a sass file:

//
// @name Variables
// @description Variables in my style guide
// 
// 

$colour1: #FFF;
$colour2: #EEE;
$colour3: #666;

If I wanted to get as json representation of my the actual hex values (to output in my style guide) how would I go about this?

vidhill avatar Feb 02 '16 14:02 vidhill