【问题标题】:highlight "<?php" ---- "?>" inside "<html>" --- "</html>" in notepad++? [duplicate]在记事本++中突出显示“<?php”----“?>”内的“<html>”---“</html>”? [复制]
【发布时间】:2015-08-06 09:09:05
【问题描述】:
<html>
   This is file is called "example.php".<br>
   <?php print "=== This is printed by a php 'print' statement<br>"; ?>
   This text is after the embedded php.
</html>

当任何一个 html 标记找到它的伴侣时,都会被赋予独特的颜色。 但是 php 标签找不到它们的伙伴,也不会突出显示。我怎样才能得到这种行为?

【问题讨论】:

标签: php html highlighting


【解决方案1】:
  1. 在记事本 ++ 中以 .php 扩展名保存文件。
  2. 如果这不能解决问题,请从here. 下载最新版本的记事本++

在这里:它的工作原理见:) -

如果有其他问题请告诉我:)

【讨论】:

  • 非常感谢。可能是新版本,也可能是(在我绝望中)我没有正确理解的设置。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2019-12-27
  • 2016-10-29
  • 2018-08-29
  • 1970-01-01
  • 2021-11-29
  • 2012-03-26
  • 2013-06-13
相关资源
最近更新 更多