Skip to content

Commit

Permalink
Add .jsx and .tsx to rstLanguageMap (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
krollins-mdb authored Aug 25, 2023
1 parent ea5c772 commit 56776a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bluehawk/actions/snip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,13 @@ export const formatInRst = async (
[".gradle", "groovy"],
[".java", "java"],
[".js", "javascript"],
[".jsx", "javascript"],
[".json", "json"],
[".kt", "kotlin"],
[".m", "objectivec"],
[".swift", "swift"],
[".ts", "typescript"],
[".tsx", "typescript"],
]);
const rstLanguage = rstLanguageMap.has(document.extension)
? rstLanguageMap.get(document.extension)
Expand Down

0 comments on commit 56776a3

Please sign in to comment.