Parse SCSS comments to build documentation
npm install scss-comment-parserscss-comment-parser 
---
Parse /// comments and extracts context from SCSS.
``shell`
npm install --save scss-comment-parser
`js
var ScssCommentParser = require('scss-comment-parser');
var annotations = {
_: {
alias: {
'aliasTest': 'annotationTest'
}
},
annotationTest: function ( commentLine ) {
return 'Working';
}
};
var parser = new ScssCommentParser( annotations );
var scss = / Load Scss /
var comments = parser.parse ( scss );
console.log(comments);
`
#### 0.8.2
* Fix selectors with interpolations parsing.
#### 0.8.1
* Fix CSS line numbers, expected by SassDoc.
#### 0.8.0
* Allow CSS context parsing.
#### 0.7.0cdocparser@0.14.0
* Update to
#### 0.6.0cdocparser@0.13.0
* Update to
* Make changes needed for SassDoc 2.0
#### 0.5.1-rc1cdocparser@0.5.0
* Update to
* Add support for configuration passed to the extractor.
#### 0.5.0cdocparser@0.4.0
* Update to
* Add support for configuration passed to the extractor.
#### 0.4.0cdocparser@0.3.0
* Update to supporting /// commentscontext.line
* Include a with start, end value for each detected code part
#### 0.3.2context.code
* Added to type placeholder.
#### 0.3.1cdocparser
* Update to 0.2.1
#### 0.3.0
* Add placeholder support (thanks to callum)
#### 0.2.4context.code
* Remove first opening and last closing brace in
#### 0.2.3function
* Fixed wrong code extraction for and mixin. (See #11)
#### 0.2.2context.code
* Added to type function and mixin containing the whole code.
#### 0.2.1
* Fix bug in detection of comment blocks
#### 0.1.2
* Update dependencys
#### 0.1.1@
* Fix multiline annotations to include
#### 0.1.0`
* Initial release