Extending the WordPress Code block with syntax highlighting rendered on the server, thus having faster frontend performance and being AMP-compatible.
GNU General Public License v2.0
118
stars
11
forks
source link
Plain text language listed as 'plaintext' #733
Open
westonruter opened 1 year ago
I just noticed that plain text "language" is listed as
plaintext
in the language dropdown:The generated
language-names.php
includes this:https://github.com/westonruter/syntax-highlighting-code-block/blob/48374609f157de43e30a7500a1010aed7d13a9be/language-names.php#L130
Apparently this needs to be a special case added to
generate-language-names.php
.