ó
    Ñ]j:  ã                   óh   • S r SSKJrJrJrJrJrJr  SSKJ	r	J
r
Jr  SSKJr  \
 " S S\	5      5       rg)z!Simple magics for display formatsé    )ÚdisplayÚ
JavascriptÚLatexÚSVGÚHTMLÚMarkdown)ÚMagicsÚmagics_classÚ
cell_magic)Úmagic_argumentsc                   óÌ   • \ rS rSrSr\S 5       r\S 5       r\S 5       r\S 5       r	\
R                  " 5       \
R                  " SSS	S
S9\S 5       5       5       r\S 5       rSrg)ÚDisplayMagicsé   z¯Magics for displaying various output types with literals

Defines javascript/latex/svg/html cell magics for writing
blocks in those languages, to be rendered in the frontend.
c                 ó&   • U R                  X5        g)zãRun the cell block of Javascript code

Alias of `%%javascript`

Starting with IPython 8.0 %%javascript is pending deprecation to be replaced
by a more flexible system

Please See https://github.com/ipython/ipython/issues/13376
N)Ú
javascript©ÚselfÚlineÚcells      ÚX/home/mande/repo/quber/.venv/lib/python3.13/site-packages/IPython/core/magics/display.pyÚjsÚDisplayMagics.js"   s   € ð 	�‰˜Õ#ó    c                 ó,   • [        [        U5      5        g)zÊRun the cell block of Javascript code

Starting with IPython 8.0 %%javascript is pending deprecation to be replaced
by a more flexible system

Please See https://github.com/ipython/ipython/issues/13376
N)r   r   r   s      r   r   ÚDisplayMagics.javascript/   s   € ô 	”
˜4Ó Õ!r   c                 ó,   • [        [        U5      5        g)a  Render the cell as a block of LaTeX

The subset of LaTeX which is supported depends on the implementation in
the client.  In the Jupyter Notebook, this magic only renders the subset
of LaTeX defined by MathJax
[here](https://docs.mathjax.org/en/v2.5-latest/tex.html).N)r   r   r   s      r   ÚlatexÚDisplayMagics.latex;   s   € ô 	”�d“Õr   c                 ó,   • [        [        U5      5        g)z!Render the cell as an SVG literalN)r   r   r   s      r   ÚsvgÚDisplayMagics.svgE   s   € ô 	”�D“	Õr   z
--isolatedÚ
store_trueFzZAnnotate the cell as 'isolated'.
Isolated cells are rendered inside their own <iframe> tag)ÚactionÚdefaultÚhelpc                 ó²   • [         R                  " U R                  U5      n[        U5      nUR                  (       a  [        USSS00S9  g[        U5        g)z"Render the cell as a block of HTMLz	text/htmlÚisolatedT)ÚmetadataN)r   Úparse_argstringÚhtmlr   r'   r   )r   r   r   Úargsr*   s        r   r*   ÚDisplayMagics.htmlJ   sE   € ô ×.Ò.¨t¯y©y¸$Ó?ˆÜ�D‹zˆØ�=�=Ü�D K°¸DÐ0AÐ#BÓCä�D�Mr   c                 ó,   • [        [        U5      5        g)z&Render the cell as Markdown text blockN)r   r   r   s      r   ÚmarkdownÚDisplayMagics.markdownZ   s   € ô 	”˜“Õr   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   r   r    r   Úargumentr*   r.   Ú__static_attributes__r0   r   r   r   r      s±   † ñð ñ
$ó ð
$ð ñ"ó ð"ð ñó ðð ñó ðð ×$Ò$Ó&Ø×ÒØ˜\°5ð=ñð
 ñó óó 'ðð ñ ó ó r   r   N)r5   ÚIPython.displayr   r   r   r   r   r   ÚIPython.core.magicr	   r
   r   ÚIPython.corer   r   r0   r   r   Ú<module>r;      s>   ðÙ '÷ L× K÷ñ õ )ð ôB �Fó B ó ñB r   