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



  • 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.



  • @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


Log in to reply