from pathlib import Path import streamlit as st import streamlit.components.v1 as components def read_markdown_file(markdown_file): return Path(markdown_file).read_text() def app(): intro_markdown = read_markdown_file("introduction.md") st.markdown(intro_markdown, unsafe_allow_html=True) st.text('An example of tweet:') components.html('''
''', height=600)