Since Twig syntax highlighting is a myth, should we have tagged posts adhere to some other auto-highlighting syntax?

The best options would probably be either html (which could lead to weird highlighting issues) or none (which would just render plain black text).

Any thoughts, feedback, suggestions? (Leave it as an answer, not a comment.)


I think we should color posts with none. Better to have no highlighting than the opportunity to invite confusion over it.

  • Would that override custom set tags (probably not) :( – carlcs Jul 29 '14 at 23:15
  • @carlcs If by "custom set tags" you mean highlighting specified by the post author via <!-- language: lang-twig -->, then no, I don't believe the tag setting would override the post's. But I have no idea what highlighting takes precedence two tags (like twig and forms) conflict with one another. – Matt Stein Jul 29 '14 at 23:17
  • I meant author set tags. Looking for a way to handle all those already lang-twig treated posts. – carlcs Jul 29 '14 at 23:21
  • @carlcs Diligent editing? Good question. – Matt Stein Jul 29 '14 at 23:22
  • Ohhh this is probably a job only moderators are authorized to do, right? – carlcs Jul 29 '14 at 23:27
  • 1
    @carlcs That exciting task is anyone's to take on. Moderators need not even do anything! :) – Matt Stein Jul 29 '14 at 23:28
  • Alright, so this seemed to be the end of the conversation... I'll change Twig tags to none by default, and people can add whatever language coloring they want. Thanks for the feedback! – Lindsey D Aug 4 '14 at 15:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .