Apply to custom fields
-
What would be the best way to apply syntax highlighting to the content of a custom field?
I am using Advanced Custom Fields to output some text from a textarea including some code blocks.
I am running the output of the custom field through ‘the_content’ filter, however the pre blocks are not being syntax highlighted.
Thanks,
Matt
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Apply to custom fields’ is closed to new replies.