Create 11ty filter to populate the snippet body with an array of the source data (line by line)
Closed this issue · 0 comments
jwdeane commented
Ref: 11ty filter documentation
A vscode snippet body is:
…is one or more lines of content, which will be joined as multiple lines upon insertion. Newlines and embedded tabs will be formatted according to the context in which the snippet is inserted.
https://code.visualstudio.com/docs/editor/userdefinedsnippets
An example implementation can be found in the Snippet Generator source code: