gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
33.41k stars 2.53k forks source link

Syntax highlighted input Textbox #6106

Closed maxrossi closed 11 months ago

maxrossi commented 12 months ago

Hello, I would like to create an input Texbox that highlights text inserted in curly braces, like a HighlightedText component but for user input

Maybe this is already planned for next releases?

abidlabs commented 11 months ago

Hi @maxrossi, this isn't something that is planned for release, but we have just released Custom Components in Gradio 4.0 -- meaning that you can take an existing Gradio component and clone it, modify the backend or the frontend, and use it in your Gradio apps. Here's how to get started: https://www.gradio.app/guides/five-minute-guide

This should hopefully help solve this use case!