Cannot display indented bullet points via st.markdown

Hi Streamliters!

I’ve a got a markdown formatting question.

I’m trying to display indented bullet points via st.markdown, but it doesn’t work.

Indented hyphens are usually used in markdown syntax to achieve this - see screenshot:

Here’s the incorrect format in my app (non-indented bullet points):

Here’s the code:

with st.beta_expander("⚙️ - How to use it ", expanded=False):
    st.write(
        """    
- URL:
    - Paste a Wikipedia URL.
    - Make sure the URL belongs to https://en.wikipedia.org/
        """
    )

Should I be doing something differently to make this work?

Thanks,
Charly

Sorted. It looks like I was using the incorrect tabulation

This following works :slight_smile:

-   100% Python
    -   [Google Natural Language API](https://cloud.google.com/natural-language)

Best,
Charly

2 Likes