I use st.markdown in a text where there are footnotes [1], [^2] in the text and the following conclusive part: Sources:
The rendering with st.markdown displays the term âfootnotesâ in font characters. I would like to remove the term âfootnotesâ in the rendering.
How is that possible?
As we witness the unfolding of these technological marvels, itâs clear that the future is not just a distant dream but a present reality. Startups are at the forefront, pushing boundaries and redefining whatâs possible. Stay tuned for our next edition, where weâll continue to explore the tech landscape and the visionaries who are driving progress.
You can hide it with CSS, as the footnotes text has the id âfootnotesâ â see this example:
import streamlit as st
st.markdown(
"""
Here's a simple footnote,[^1] and here's a longer one.[^bignote]
[^1]: This is the first footnote.
[^bignote]: Here's one with multiple paragraphs and code.
Indent paragraphs to include them in the footnote.
`{ my code }`
Add as many paragraphs as you like.
"""
)
st.markdown(
"""
Here's a simple footnote,[^1]
[^1]: This is the first footnote.
"""
)
st.markdown(
"""
<style>
#footnotes {
display: none
}
</style>
""",
unsafe_allow_html=True,
)