westonruter / syntax-highlighting-code-block

Extending the WordPress Code block with syntax highlighting rendered on the server, thus having faster frontend performance and being AMP-compatible.
https://wordpress.org/plugins/syntax-highlighting-code-block/
GNU General Public License v2.0
117 stars 11 forks source link

Getting rid of Tags #876

Open IceBear65 opened 3 weeks ago

IceBear65 commented 3 weeks ago

H. I love this plug in as it's lightweight. But i am facing a problem. In code block, suppose I want to highlight or Bold a code. But if i do that it shows < strong> tag or < mark> tag etc in my code. I have attached an image for better understanding.
Is there any way to solve it? Screenshot_2024-08-20-12-46-04-449_com android chrome

westonruter commented 3 weeks ago

I believe you may be describing this issue:

To get around this issue, you'd have to specify the lines you want to highlight in the block sidebar, as opposed to highlighting the lines directly in the editor.