Skip to content

Commit e880448

Browse files
committed
Fix code-language conversion (json, plaintext)
1 parent c28b6ce commit e880448

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

_includes/language-alias.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
{{ 'Perl' }}
4242
{% when 'php','php3','php4','php5' %}
4343
{{ 'PHP' }}
44-
{% when 'plaintext', 'text' %}
45-
{{ 'Text' }}
4644
{% when 'py' %}
4745
{{ 'Python' }}
4846
{% when 'rb' %}
@@ -65,7 +63,7 @@
6563
{{ 'Vue.js' }}
6664
{% when 'yml' %}
6765
{{ 'YAML' }}
68-
{% when 'css', 'html', 'scss', 'ssh', 'toml', 'xml', 'yaml' %}
66+
{% when 'css', 'html', 'scss', 'ssh', 'toml', 'xml', 'yaml', 'json' %}
6967
{{ _lang | upcase }}
7068
{% else %}
7169
{{ _lang | capitalize }}

0 commit comments

Comments
 (0)