
    chM                        S SK Jr  S SKJrJr  S SKJrJr  S SKJ	r
  S SKJr  S SKJr  \(       a  S SKJr  S SKJr  S S	KJr   " S
 S5      rg)    )annotations)TYPE_CHECKINGcast)LayoutConfigvalidate_width)Text)gather_metrics)
clean_text)DeltaGenerator)Width)SupportsStrc                  `    \ rS rSr\" S5      SSS.       S	S jj5       r\S
S j5       rSrg)	TextMixin   textNcontent)helpwidthc                   [        5       n[        U5      Ul        U(       a  X$l        [	        USS9  [        US9nU R                  R                  SXES9$ )a;  Write text without Markdown or HTML parsing.

For monospace text, use |st.code|_.

.. |st.code| replace:: ``st.code``
.. _st.code: https://docs.streamlit.io/develop/api-reference/text/st.code

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

help : str or None
    A tooltip that gets displayed next to the text. If this is ``None``
    (default), no tooltip is displayed.

    The tooltip can optionally contain GitHub-flavored Markdown,
    including the Markdown directives described in the ``body``
    parameter of ``st.markdown``.

width : "content", "stretch", or int
    The width of the text element. This can be one of the following:

    - ``"content"`` (default): The width of the element matches the
      width of its content, but doesn't exceed the width of the parent
      container.
    - ``"stretch"``: The width of the element matches the width of the
      parent container.
    - An integer specifying the width in pixels: The element has a
      fixed width. If the specified width is greater than the width of
      the parent container, the width of the element matches the width
      of the parent container.

Example
-------
>>> import streamlit as st
>>>
>>> st.text("This is text\n[and more text](that's not a Markdown link).")

.. output ::
    https://doc-text.streamlit.app/
    height: 220px

T)allow_content)r   r   )layout_config)	TextProtor
   bodyr   r   r   dg_enqueue)selfr   r   r   
text_protor   s         jC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\streamlit/elements/text.pyr   TextMixin.text   sN    h [
$T*
"OuD1$51ww
PP    c                    [        SU 5      $ )zGet our DeltaGenerator.r   )r   )r   s    r   r   TextMixin.dg]   s     $d++r     )r   r   r   z
str | Noner   r   returnr   )r$   r   )	__name__
__module____qualname____firstlineno__r	   r   propertyr   __static_attributes__r#   r    r   r   r      sb    F
   ;Q;Q 	;Q
 ;Q 
;Q ;Qz , ,r    r   N)
__future__r   typingr   r   #streamlit.elements.lib.layout_utilsr   r   streamlit.proto.Text_pb2r   r   streamlit.runtime.metrics_utilr	   streamlit.string_utilr
   streamlit.delta_generatorr   r   streamlit.type_utilr   r   r#   r    r   <module>r3      s1    # & L 6 9 ,89/B, B,r    