Не работает подсветка html кода внутри php
-
Друзья, подскажите как подсветить html код внутри php?
эвакуатор-внуково.рф/images/hphp.jpg -
@Михаил-Медведев said,
Друзья, подскажите как подсветить html код внутри php?
which chrome’s translate thinks means
Friends, tell me how to highlight the html code inside php?

Sorry, @Михаил-Медведев, by default, Notepad++ syntax-highlighting lexer only works on a single language type.
You can see more on that in https://notepad-plus-plus.org/community/topic/15869/multiple-highlight-languages-in-one-file-php-html-css-js
However, @Ekopalypse (then under the account @Eko-palypse) worked on an enhanced UDL lexer, published https://notepad-plus-plus.org/community/topic/17134/enhance-udl-lexer, which might be able to be configured (with effort on your part) to highlight both HTML and PHP.
I will try to translate the bulk of my post into Russian for you using translate.google.com. I’m sorry that I have to rely on automatic translations. In general, this forum stays in English; if you want, you can include both your original language, and your best translation into English (either on your own effort, or through a translation service, like I use) – which will show a willingness to make it as easy as possible for us to answer your question.
-----
Извините, @ Михаил-Медведев, по умолчанию лексер с подсветкой синтаксиса Notepad ++ работает только для одного типа языка.
Вы можете увидеть больше об этом в https://notepad-plus-plus.org/community/topic/15869/multiple-highlight-languages-in-one-file-php-html-css-js
Однако @Ekopalypse (тогда под учетной записью @Eko-palypse) работал над улучшенным лексером UDL, опубликованным https://notepad-plus-plus.org/community/topic/17134/enhance-udl-lexer, который может быть настроенным (с усилием с вашей стороны) для выделения как HTML, так и PHP.
Я постараюсь перевести большую часть моего поста на русский для вас с помощью translate.google.com. Мне жаль, что я вынужден полагаться на автоматический перевод. В общем, этот форум остается на английском языке; если вы хотите, вы можете включить как ваш родной язык, так и ваш лучший перевод на английский язык (либо своими силами, либо через услуги перевода, как я использую), - которые продемонстрируют готовность сделать это как можно проще для нам ответить на ваш вопрос.
-
-
@Михаил-Медведев
Вам придется переключаться между разными синтаксисами, одновременной подсветки для разных языков в одном файле не работает.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login