extensions/markdown-language-features/preview-src/settings.ts/getSettings
export function getSettings(): PreviewSettings {
	if (cachedSettings) {
		return cachedSettings;
	}

	cachedSettings = getData('data-settings');
	if (cachedSettings) {
		return cachedSettings;
	}

	throw new Error('Could not load settings');
}