Support » Plugin: Simple Code Block » PHP open tag requirement for proper highlighting

  • Resolved Kuba Mikita

    (@kubitomakita)


    This is probably a bug (feature?) of the editor incorporated into this plugin, but the syntax highlighting of PHP snippets is active only with <?php tag on the top.

    Personally, most of the time I’d like to show code fragments, like a simple function or even a line with variable setup. This requirement of having <?php tag is not so great.

    Is there a chance we could get working PHP highlighting without the starting tag?

Viewing 1 replies (of 1 total)
  • Plugin Contributor sumapress

    (@sumapress)

    Sorry but as you say is something that has to do with the built-in editor…

    It’s Not a Bug, It’s a Feature. 🙂

    anyway I will see what I can do for the next version to solve it

    • This reply was modified 6 months, 2 weeks ago by sumapress.
    • This reply was modified 6 months, 2 weeks ago by sumapress.
Viewing 1 replies (of 1 total)
  • The topic ‘PHP open tag requirement for proper highlighting’ is closed to new replies.