Skip to content

Commit 3fc7ba2

Browse files
authored
Merge pull request #7 from RichNSD/1x
Added support for Markdown files
2 parents 90e7a4f + bc8e762 commit 3fc7ba2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const supportedLang: string[] = [
5757
"kt", // Kotlin
5858
"lua", // Lua
5959
"mjs", // Javascript
60+
"md", // Markdown
6061
"php", // PHP
6162
"pl", // Perl
6263
"py", // Python
@@ -147,6 +148,7 @@ const cmtSyntaxDouble: {
147148
[key: string]: DoubleLineCommentSyntax;
148149
} = {
149150
html: { first: "<!-- ", last: " -->" },
151+
md: { first: "<!-- ", last: " -->" },
150152
twig: { first: "{# ", last: " #}" },
151153
blade: { first: "{{-- ", last: " --}}" },
152154
hbs: { first: "{{!-- ", last: " --}}" },

0 commit comments

Comments
 (0)