From a0a1403e4315495a2a82e94c662cc27990946fe0 Mon Sep 17 00:00:00 2001 From: Kevin Batdorf Date: Fri, 14 Jun 2024 00:58:39 +0700 Subject: [PATCH] Fix erb language --- readme.txt | 3 +++ src/util/languages.ts | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 82b512e..717d1b7 100644 --- a/readme.txt +++ b/readme.txt @@ -156,6 +156,7 @@ Get more themes at [code-block-pro.com/themes](https://code-block-pro.com/themes - DreamMaker ([demo](https://code-block-pro.com/themes?theme=one-dark-pro&lang=dream-maker&utm_campaign=Demo&utm_source=Readme&utm_medium=textlink&utm_content=language&utm_term=dream-maker)) - Elixir ([demo](https://code-block-pro.com/themes?theme=one-dark-pro&lang=elixir&utm_campaign=Demo&utm_source=Readme&utm_medium=textlink&utm_content=language&utm_term=elixir)) - Elm ([demo](https://code-block-pro.com/themes?theme=one-dark-pro&lang=elm&utm_campaign=Demo&utm_source=Readme&utm_medium=textlink&utm_content=language&utm_term=elm)) +- ERB ([demo](https://code-block-pro.com/themes?theme=one-dark-pro&lang=erb&utm_campaign=Demo&utm_source=Readme&utm_medium=textlink&utm_content=language&utm_term=erb)) - Erlang ([demo](https://code-block-pro.com/themes?theme=one-dark-pro&lang=erlang&utm_campaign=Demo&utm_source=Readme&utm_medium=textlink&utm_content=language&utm_term=erlang)) - Fish ([demo](https://code-block-pro.com/themes?theme=one-dark-pro&lang=fish&utm_campaign=Demo&utm_source=Readme&utm_medium=textlink&utm_content=language&utm_term=fish)) - F# ([demo](https://code-block-pro.com/themes?theme=one-dark-pro&lang=fsharp&utm_campaign=Demo&utm_source=Readme&utm_medium=textlink&utm_content=language&utm_term=fsharp)) @@ -310,6 +311,8 @@ Themes are rendered inside the editor as you type or make changes, so the code b == Changelog == +- Fix: Fixes support for ERB template syntax + = 1.26.2 - 2024-04-04 = - Tweak: Changed the saved languages history from 3 to 5 - Fix: Addressed some contrast issues with print styles diff --git a/src/util/languages.ts b/src/util/languages.ts index 669f1d3..8fc9d8c 100644 --- a/src/util/languages.ts +++ b/src/util/languages.ts @@ -19,7 +19,6 @@ export const codeAliases = { gts: ['glimmer-ts'], haskell: ['hs'], handlebars: ['hbs'], - 'html-ruby-erb': ['erb'], ini: ['properties'], java: ['javafx'], javascript: ['jscript', 'js'],