Is it possible to create a textarea with automatic syntax highlightning where the user can write commands (sql)?

This page summarizes the projects mentioned and recommended in the original post on /r/nicegui

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • dev

    Development repository for the CodeMirror editor project

  • Unfortunately NiceGUI does not yet have a ready-made code editor ui element. But it should not be too hard to create it. Maybe based on the popular https://codemirror.net/ Vue3 component? We have an example showing how to adopt custom vue components in the repo. You could either do it directly in your project or create a pull-request to have it integrated into the NiceGUI core. We would be eager to see you and others contribute in this area...

  • nicegui

    Create web-based user interfaces with Python. The nice way.

  • Unfortunately NiceGUI does not yet have a ready-made code editor ui element. But it should not be too hard to create it. Maybe based on the popular https://codemirror.net/ Vue3 component? We have an example showing how to adopt custom vue components in the repo. You could either do it directly in your project or create a pull-request to have it integrated into the NiceGUI core. We would be eager to see you and others contribute in this area...

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts