Comments (7)
If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.
Your feedback helps us prioritize which bugs to investigate and address first.
from streamlit.
Hey! This behavior is partially intended. Surrounding words with "_" will turn them into italics which will in turn remove the surrounding underscores.
from streamlit.
@kilpert Thanks for reporting this issue. I reproduced this here. It's expected that this happens since all these commands render the text as markdown.st.text
is rendering it as text without using markdown rendering. Changing this to feature request since it would make sense to allow an option to somehow deactivate markdown rendering, maybe supporting something like in Github Markdown: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#ignoring-markdown-formatting
from streamlit.
To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.
Your vote helps us identify which enhancements matter most to our users.
from streamlit.
You are completely right. I forgot about the markdown. Never really use italic. This is a better way to output error messages:
st.error(f"`{error.message}`", icon="⚠️")
from streamlit.
Since this is not a bug, we should close this.
from streamlit.
If you would like to reopen this / make a new issue to allow an option to deactivate markdown rendering I could try to work on this feature. Would I be able to get assigned this @LukasMasuch ?
from streamlit.
Related Issues (20)
- Cannot Download from SEO URL Redirect Mapper App HOT 2
- Add alt text to images & charts for improved accessibility HOT 1
- Make `st.chat_input` show up at the bottom even if used in a tab HOT 4
- Plotly chart flickers when changing tabs HOT 1
- Plotly chart doesn't update when changing value of `use_container_width` HOT 1
- Show preview images in `st.file_uploader` HOT 1
- Add support for alpha channel in `st.image`'s `channels` argument HOT 1
- Critical bug: Sidebar button display in page navigation HOT 3
- Getting "Could not find fragment with id 1c78f2182f4bcfbd2cda9b9971306dc7" error while calling a dialog (fragment) function from a callback. HOT 3
- `st.runtime.get_instance()._session_mgr.list_active_sessions()[0].client.request.protocol` is http on https pages. HOT 5
- Safari <= 16.3: App fails to launch, SyntaxError: Invalid regular expression: invalid group specifier name HOT 3
- Add an `on_complete` or `on_focus_leave` for `st.data_editor` to debounce saving state HOT 3
- Console script returning RuntimeError HOT 8
- Inconsistent case sensitivity (`streamlit run`, `st.switch_page`, and the file name) HOT 7
- Callbacks for custom components latest streamlit update (1.34.0) HOT 5
- Move st.app_state further up in the roadmap HOT 1
- Provide more granular control over editing dataframe st.data_editor HOT 2
- St.selectbox() pre-assigned 'index' value is not working due to setting the 'key' parameter (version 1.34) HOT 3
- st.query_params type attributes incorrectly prohibit `Iterable[str]` values in `from_dict` and `update` HOT 1
- InternalHashError: maximum recursion depth exceeded in comparison HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamlit.