Community

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

    Creating BBCode User-Defined Language - Help understanding format?

    Help wanted · · · – – – · · ·
    bbcode forum code syntax udl highlighting
    2
    3
    3080
    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.
    • MegaScience
      MegaScience last edited by

      I’m currently trying to set up a User-Defined Language for BBCode to help me work with a forum through Notepad++. I’ve been fiddling with the settings in Notepad++ trying to replicate features offered with default languages such as HTML, but I suppose I have yet to reach the comprehension required for that.

      I know all the tags I want it to highlight. This variant of BBCode uses the [QUOTE=""] format for parameters. Lists use [list=A] type syntax, with list elements prefixed with [*]. If anyone could help me figure out how to make this work with collapsing and click-to-highlight-open/close tags, I’d appreciate it. Even if you just point me in the right direction for how to properly accomplish this.

      1 Reply Last reply Reply Quote 0
      • MegaScience
        MegaScience last edited by

        This is what I have so far. It almost works, but normal words are highlighted and some of the = syntax whereas " marks are omitted aren’t recognized. I figured a way to make them recognized, but capping them with ] means that that part gets colored, too. I’d also really like that feature where I could click one tag and the other, associated tag highlights, but I get the sense that isn’t possible with User-Defined languages.

        1 Reply Last reply Reply Quote 0
        • rddim
          rddim last edited by

          Take a look at https://ivan-radic.github.io/udl-documentation/, it may be help you

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