diff --git a/docs/commands.md b/docs/commands.md index 9b147707..4192fb8d 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -232,6 +232,7 @@ Display question details. With `-g`/`-l`/`-x`, the code template would be auto g * c * cpp * csharp + * elixir * golang * java * javascript diff --git a/lib/config.js b/lib/config.js index 82cfee17..2f070c0d 100644 --- a/lib/config.js +++ b/lib/config.js @@ -18,6 +18,7 @@ const DEFAULT_CONFIG = { 'c', 'cpp', 'csharp', + 'elixir', 'golang', 'java', 'javascript', diff --git a/lib/helper.js b/lib/helper.js index 9c5ff43f..7ef3b594 100644 --- a/lib/helper.js +++ b/lib/helper.js @@ -34,6 +34,7 @@ const LANGS = [ {lang: 'c', ext: '.c', style: 'c'}, {lang: 'cpp', ext: '.cpp', style: 'c'}, {lang: 'csharp', ext: '.cs', style: 'c'}, + {lang: 'elixir', ext: '.ex', style: '#'}, {lang: 'golang', ext: '.go', style: 'c'}, {lang: 'java', ext: '.java', style: 'c'}, {lang: 'javascript', ext: '.js', style: 'c'},
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: