syavorsky / comment-parser

Generic JSDoc-like comment parser.
MIT License
239 stars 24 forks source link

Doesn't parse loud comments (/*!) #124

Closed strarsis closed 3 years ago

strarsis commented 3 years ago

Apparently the parser skips loud comments (as tried in playground): /*! is a loud CSS comment which is not parsed by the parser in the parser playground.

Or have I misunderstood its purpose and it is actually only parsing comments with an extra star (/**)? Can I reconfigure it so I can use it with normal (and loud) CSS comments?

syavorsky commented 3 years ago

yeah, that's how it is now. Probably, I should have described it better in the README

And it can be used with any language supporting /* / source comments.

97 suggests implementing custom markers, that might possibly fit, but there is nothing done to make it happen yet

brettz9 commented 3 years ago

I suggest closing this then as a dupe of #97.

syavorsky commented 3 years ago

duplicate of #97