Closed eenaree closed 1 year ago
Well, I never thought of that but it's a great idea! Also very simple to implement - took me 5-10 minutes to get it working. A new version (1.13.1) has been just released with that change. You can now either pass it as single string or array of strings. I had to leave single string option for backward compatibility. Enjoy!
Thanks for listening to my thoughts. Depending on the complexity of the template, I think we can select the type of value to pass. Thanks again!
When creating templates with many rows in the body, using newline characters like '\n' and '\t' can make the template look messy and less visually appealing.
Instead of using string, can i pass the body of custom template as array of string type, like vscode's snippets?
for example,