Move strings to own file

This commit is contained in:
Matt Bierner
2018-03-05 11:06:37 -08:00
parent 32e0e2d66c
commit c43fe75976
2 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export function getStrings(): { [key: string]: string } {
return JSON.parse(document.getElementById('vscode-markdown-preview-data').getAttribute('data-strings'));
}