asciidecorator
asciidecorator copied to clipboard
Wrap output in comment tags
Hi, how could you wrap the output in comment tags?
Sorry, this isn't implemented here yet.
Future implementer's reference:
In the original Sublime Text extension this feature is controlled with the setting:
"default_insert_as_comment": false
The way it appears to be implemented is by checking the current syntax's comment and adapting to it e.g. if current syntax is 'C', all insertions will be preceded with "\". There appears to be no block-comment support.
If current syntax is plain text or has no way to comment, insertion functions normally.
Ah thank you I understand.
Way back in the day, ty I remember having to just 'bodge' it by adding block comment tag to each end of the final value 😆 but that only worked on documents where you the comment tag you chose, was appropriate.