Closed JoernBerkefeld closed 9 months ago
testeded with
const content =
'%%[/*\n* example on how to use this\n* example on how to use this\n*/\n/* my ampscript */\n]%%';
and HTML off:
result:
%%[
/*
* example on how to use this
* example on how to use this
*/
/* my ampscript */
]%%
I can confirm this works as expected @FiB3 :)
cloned from https://github.com/sfm-cz/beautyAmp/issues/7 (opened by @FiB3 )
Just opening the new Comment idea for you (a "fork from https://github.com/sfm-cz/beautyAmp/issues/6)
I did notice one thing though: prettier would format multi-line comments that are prefixed slightly differently:
see how it adds 1 space in 2 out of those 3 cases? would be nice to mirror that behavior.