Embedded script syntax highlighting

XMLWordPrintable

    • Type: New Feature Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: Frontend (F)

      By the way, can we implement syntax highlight for the language we choose from the start for preprocessing?

      This will be very nice looking and convenient. +100 points to Zabbix feels and looks    And will help users not to make any stupid typos or syntax errors.

      Like Prism or Rainbow:

      https://prismjs.com/ (MIT), https://github.com/PrismJS/prism

      https://craig.is/making/rainbows (Apache 2.0), https://github.com/ccampbell/rainbow/blob/master/LICENSE

      They seem to be small, embeddedable JS libraries with permissive license

       

      And if we like it, we may write a plugin for it (prism?) to highlight the syntax of Zabbix trigger expressions as well.

            Assignee:
            Valdis Murzins
            Reporter:
            Vitaly Zhuravlev
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: