Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | 2x 2x 4x 1x | const codeTypes = { text: 'Text', asp: 'ASP', c: 'C', coffeescript: 'CoffeeScript', clojure: 'Clojure', cplusplus: 'C++', csharp: 'C#', css: 'CSS', curl: 'cURL', cypher: 'Cypher', d: 'D', erlang: 'Erlang', go: 'Go', groovy: 'Groovy', handlebars: 'Handlebars', haml: 'HAML', haxe: 'Haxe', html: 'HTML', http: 'HTTP', java: 'Java', javascript: 'JavaScript', jinja2: 'Jinja2', json: 'JSON', julia: 'Julia', kotlin: 'Kotlin', less: 'LESS', liquid: 'Liquid', lua: 'Lua', markdown: 'Markdown', mysql: 'MySQL', node: 'Node', objectivec: 'Objective-C', perl: 'Perl', php: 'PHP', pgsql: 'Postgres', powershell: 'PowerShell', python: 'Python', r: 'R', ruby: 'Ruby', rust: 'Rust', sass: 'SASS', scala: 'Scala', scss: 'SCSS', shell: 'Shell', smarty: 'Smarty', sql: 'SQL', stylus: 'Stylus', swift: 'Swift', toml: 'TOML', twig: 'Twig', xml: 'XML', yaml: 'YAML', }; module.exports = function uppercase(language) { if (codeTypes[language]) return codeTypes[language]; return language; }; |