Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow markdown in image caption listΒ #6808

@lambertwx

Description

@lambertwx

Problem

Although streamlit supports markdown in many elements (e.g., st.caption), it doesn't seem to support markdown when it appears in the caption list of the st.image element.

For example,

import streamlit as st
from PIL import Image

...

st.image([img0, img1], caption=['[microsoft](http://microsoft.com)', '[apple](http://apple.com)'])

Solution

MVP: It sure would be nice if we could use markdown in image captions. Specifically, markdown for links would be very useful.


Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

If you'd like the Streamlit team to prioritize this feature request, please use the πŸ‘ (thumbs up emoji) reaction in response to the initial post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:st.imageRelated to the `st.image` elementstatus:likelyWill probably implement but no timeline yettype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions