src/vs/editor/common/languages/textToHtmlTokenizer.ts/tokenizeToStringSync
export function tokenizeToStringSync(languageService: ILanguageService, text: string, languageId: string): string {
	return _tokenizeToString(text, languageService.languageIdCodec, TokenizationRegistry.get(languageId) || fallback);
}