From 6eb6c285e93a7fad5c259b7ffb9f740ce0050ea1 Mon Sep 17 00:00:00 2001 From: Gerrit Birkeland Date: Tue, 29 Dec 2020 09:08:24 -0700 Subject: [PATCH] fix: Map bash, sh, shell to shellscript when highlighting Closes #1432 --- src/lib/utils/highlighter.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/utils/highlighter.ts b/src/lib/utils/highlighter.ts index e700fb01c..8d194de26 100644 --- a/src/lib/utils/highlighter.ts +++ b/src/lib/utils/highlighter.ts @@ -9,6 +9,9 @@ import { unique } from "./array"; const aliases = new Map([ ["ts", "typescript"], ["js", "javascript"], + ["bash", "shellscript"], + ["sh", "shellscript"], + ["shell", "shellscript"], ]); const supportedLanguages = unique([