From f0144829f0e469c28a454b818fb8f9b4d76117e5 Mon Sep 17 00:00:00 2001 From: qiaogaojian Date: Fri, 23 Sep 2022 22:46:06 +0800 Subject: [PATCH] update the function getLanguageAlias to include the aliases for C# and TypeScript --- src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.ts b/src/main.ts index 7ce2747..47ceec2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -133,6 +133,8 @@ export default class ExecuteCodePlugin extends Plugin { private getLanguageAlias(language: string) { return language .replace("javascript", "js") + .replace("typescript", "ts") + .replace("csharp", "cs") .replace("bash", "shell"); }