Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How To Add New <f7-page> syntec to languages?

    Help wanted · · · – – – · · ·
    2
    2
    1550
    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.
    • Lionel Yeo
      Lionel Yeo last edited by

      This is killing me.

      I’m trying to add Framework 7 to the syntex highlighting

      <html> </html>

      Using the Html language can I add customized tags like

      <f7-page attr=‘string’ > </f7-page>

      with the same syntax highlighting.

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Lionel Yeo last edited by

        @Lionel-Yeo

        html doesn’t seem to have user defined keywords field so we need to edit langs.xml directly.

        Eg. add f7-page to the keyword list like … event f7-page face…
        make sure alphabetical ordering is kept.
        Should result in something like this

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors