EnlighterJS / Plugin.WordPress

:package: Official WordPress Plugin of EnlighterJS
http://wordpress.org/plugins/enlighter/
GNU General Public License v2.0
115 stars 17 forks source link

NoHighlight language option #286

Closed viktorix closed 3 years ago

viktorix commented 3 years ago

I wanted to display an error log snippet, so I was looking for an option that has no highlighting. I see that EnlighterJS has a language "NoHighlight", which doesn't show any highlighting.

WordPress plugin (v4.2) doesn't specifically have NoHighlight option. I'm not sure if this is a bug or by design. I thought I'll report this.

AndiDittrich commented 3 years ago

the website is outdated

in v4.2 use "RAW" in v4.3 "Plain Text"

see language mappings within LanguageManager.php

viktorix commented 3 years ago

Perfect, thanks for the help.