Open
Description
Writing and maintaining multiline strings in a package.nls.json
is a pain since you end up with long, single line strings with explicit \n
:
{
"configuration.markdown.editor.filePaste.videoSnippet": "Snippet used when adding videos to Markdown. This snippet can use the following variables:\n- `${src}` — The resolved path of the video file.\n- `${title}` — The title used for the video. A snippet placeholder will automatically be created for this variable.",
}
I propose we support an array of strings which are then automatically joined with new line characters (likely as a build step):
{
"configuration.markdown.editor.filePaste.videoSnippet": [
"Snippet used when adding videos to Markdown. This snippet can use the following variables:",
"- `${src}` — The resolved path of the video file.",
"- `${title}` — The title used for the video. A snippet placeholder will automatically be created for this variable."
]
}