Community
    • Login

    Не работает подсветка html кода внутри php

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Михаил МедведевМ
      Михаил Медведев
      last edited by

      Друзья, подскажите как подсветить html код внутри php?
      эвакуатор-внуково.рф/images/hphp.jpg

      andrecool-68A 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by

        @Михаил-Медведев 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. Мне жаль, что я вынужден полагаться на автоматический перевод. В общем, этот форум остается на английском языке; если вы хотите, вы можете включить как ваш родной язык, так и ваш лучший перевод на английский язык (либо своими силами, либо через услуги перевода, как я использую), - которые продемонстрируют готовность сделать это как можно проще для нам ответить на ваш вопрос.

        andrecool-68A 1 Reply Last reply Reply Quote 2
        • andrecool-68A
          andrecool-68 @PeterJones
          last edited by

          @PeterJones

          1 Reply Last reply Reply Quote 0
          • andrecool-68A
            andrecool-68 @Михаил Медведев
            last edited by

            @Михаил-Медведев
            Вам придется переключаться между разными синтаксисами, одновременной подсветки для разных языков в одном файле не работает.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors