highlightjs/highlight.js

Explain the difference between php and php-template in their comments

Open

#3,765 创建于 2023年4月25日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (22,960 star) (3,497 fork)batch import
buggood first issuehelp welcomeparser

描述

Both php and php-template only have the link to https://www.php.net in their header comments. How does one choose one over another?

And it is unclear how it ended.

I believe that those two languages should have a short comments in headers like

Choose this for any PHP code, with the opening tag or not.

or

Choose this for PHP code with a required opening tag.

(If I got the difference right.)

贡献者指南

Explain the difference between php and php-template in their comments · highlightjs/highlight.js#3765 | Good First Issue