Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4893

Embedded script syntax highlighting

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • 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.

            vmurzins Valdis Murzins
            vzhuravlev Vitaly Zhuravlev
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: