class_docstr: Test st.markdown API.
class_docstr_tok: ["Test","st.markdown","API","."]
docstr: Test st.markdown.
docstr_tok: ["Test","st.markdown","."]
code: def test_st_markdown(self):
      """Test st.markdown."""
      st.markdown("    some markdown  ")
  
      el = self.get_delta_from_queue().new_element
      self.assertEqual(el.markdown.body, "some markdown")
  
      # test the unsafe_allow_html keyword
      st.markdown("    some markdown  ", unsafe_allow_html=True)
  
      el = self.get_delta_from_queue().new_element
      self.assertEqual(el.markdown.body, "some markdown")
      self.assertTrue(el.markdown.allow_html)
  
      # test the help keyword
      st.markdown("    some markdown  ", help="help text")
      el = self.get_delta_from_queue().new_element
      self.assertEqual(el.markdown.body, "some markdown")
      self.assertEqual(el.markdown.help, "help text")
  
file_path: streamlit/lib/tests/streamlit/elements/markdown_test.py
imports: import streamlit
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 1 for calling the StMarkdownAPITest obj's underlying member method code with example usage: obj.test_st_markdown() without return types