st-annotated-text icon indicating copy to clipboard operation
st-annotated-text copied to clipboard

A simple component to display annotated text in Streamlit apps.

Results 20 st-annotated-text issues
Sort by recently updated
recently updated
newest added

I have installed streamlit but failed to install st-annotated-text ![屏幕截图 2022-08-15 142651](https://user-images.githubusercontent.com/67300096/184586886-8f65e2fe-c28c-490d-93e2-7e16a34bd039.jpg)

modified util.py to accept list of elements as input. so far, elements have to be passed on like below, ``` annotated_text( "This ", ("is", "verb", "#8ef"), " some ", ("annotated",...

Allow padding and border_radius to be changed by passing them as parameters. If they are not passed, the default values are still set

Hello, sometimes I want to highlight (colour) some text but not provide an annotation like NOUN or VERB. However, if I provide "" I still get the padding which looks...

When trying to use `annotated_text` with a text that has a line break it raises the following Error: ``` Error parsing Markdown or HTML in this string ``` This only...

Hi ! I was wondering whether there was a way to recursively look for the spans to be highlighted in the text without specifying the text before or after. Thanks...

Writing tests for a Streamlit app/component could be challenging. Here is a framework, presented by Randy Zwitch (@randyzwitch), on the Streamlit blog: [Streamlit test framework with `SeleniumBase` & `OpenCV`][#st-app-test-framework] [#st-app-test-framework]:...

``` tuples1 = [ ( "This is a \n test.", "Result", "#FFFF00", ), " Sentence 2.", ] tuples2 = [ ( "This is a \n \n test.", "Result", "#FFFF00", ),...

I would love it if overlapping annotations could be handled though this would require substantial changes to annotation