I'm having an issue with my WordPress site where content in WYSIWYG custom fields (using Advanced Custom Fields) is not rendering the syntax highlighted code. Code in body copy works, just nothing in those custom fields.
Is there any way to add the syntax highlighting to custom fields? Thanks in advance.
Closing since Urvanov_Syntax_Highlighter_Plugin::highlight() works. But would be a great feature to have this highlight WYSIWYG fields automatically :)
I'm having an issue with my WordPress site where content in WYSIWYG custom fields (using Advanced Custom Fields) is not rendering the syntax highlighted code. Code in body copy works, just nothing in those custom fields.
Is there any way to add the syntax highlighting to custom fields? Thanks in advance.