Automattic / syntaxhighlighter

WordPress plugin that makes it easy to post syntax-highlighted code snippets.
https://alex.blog/wordpress-plugins/syntaxhighlighter/
239 stars 78 forks source link

Default language snippet not working #256

Closed cena closed 1 year ago

cena commented 1 year ago

We (@renatho :)) previously provided a snippet to set the default languge (vs. plain text) in this forum post:

https://wordpress.org/support/topic/how-to-set-a-default-language-parameter/

This no longer working (confirmed).

Can we update it?

gikaragia commented 1 year ago

Hey @cena not sure if this snippet was ever working but I think that there is a chance that it didn't.

In any case, tried modifying it a bit to make it work but couldn't. They could probably achieve the same result by using block variations or a JS filter in the frontend but I don't think that offering such a customization is inside the scope of our support.