Thanks for the awesome plugin!
It would be great to have a filter or something similar to prevent outputting any styles on the front-end. I'd like to have all the classes from the highlighter available, but just add my own styling. Right now I'm using the render_block filter with regex to remove any <link> and <style> tags, but it would be nice to have a simple filter to take care of this.
Something like this would be great: add_filter( 'syntax_highlighting_code_block_output_styles', '__return_false' );
Let me know if anything is unclear.
Thanks for the awesome plugin!
It would be great to have a filter or something similar to prevent outputting any styles on the front-end. I'd like to have all the classes from the highlighter available, but just add my own styling. Right now I'm using the
render_blockfilter with regex to remove any<link>and<style>tags, but it would be nice to have a simple filter to take care of this.Something like this would be great:
add_filter( 'syntax_highlighting_code_block_output_styles', '__return_false' );Let me know if anything is unclear.