@_with_element
def title(self, element, body):
    "Display text in title formatting.\n\n        Each document should have a single `st.title()`, although this is not\n        enforced.\n\n        Parameters\n        ----------\n        body : str\n            The text to display.\n\n        Example\n        -------\n        >>> st.title('This is a title')\n\n        .. output::\n           https://share.streamlit.io/0.25.0-2JkNY/index.html?id=SFcBGANWd8kWXF28XnaEZj\n           height: 100px\n\n        "
    element.markdown.body = ('# %s' % _clean_text(body))
Display text in title formatting.

Each document should have a single `st.title()`, although this is not
enforced.

Parameters
----------
body : str
    The text to display.

Example
-------
>>> st.title('This is a title')

.. output::
   https://share.streamlit.io/0.25.0-2JkNY/index.html?id=SFcBGANWd8kWXF28XnaEZj
   height: 100px
@_with_element
def title(self, element, body):
    "Display text in title formatting.\n\n        Each document should have a single `st.title()`, although this is not\n        enforced.\n\n        Parameters\n        ----------\n        body : str\n            The text to display.\n\n        Example\n        -------\n        >>> st.title('This is a title')\n\n        .. output::\n           https://share.streamlit.io/0.25.0-2JkNY/index.html?id=SFcBGANWd8kWXF28XnaEZj\n           height: 100px\n\n        "
    element.markdown.body = ('# %s' % _clean_text(body))