Level 4
Wrap it inside <code></code> and then use a code highlighter like https://highlightjs.org/ in frontend.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi Friends,
I am developing a blog for me. And now I want to know, How to write PHP code in TinyMCE Editor. To render in front like I attached a screenshot below.
Screenshot Link: https://drive.google.com/file/d/1KsuzsheAPVKW6IwGgfINc9hFKw1AVHG4/view?usp=sharing
Can you please help me with this.
Please or to participate in this conversation.