vitaly-t / decomment

:hammer: Removes comments from JSON, JavaScript, CSS, HTML, etc.
75 stars 21 forks source link

Does it support custom annotations? #23

Closed wll8 closed 1 year ago

wll8 commented 3 years ago

Does it support custom annotations?

I did not find this feature in the documentation, d.ts and issues.

E.g:

// bash
options.comment = [
   [`#`],
]
// aardio
options.comment = [
   [`//`], 
   [`/*`, `*/`],
]
vitaly-t commented 2 years ago

It supports all JavaScript-syntax annotations. Are you asking because you haven't tried?

wll8 commented 2 years ago

Thank you for reading this question carefully.