o
    ¾©ZhÊ  ã                   @   s:   d Z ddlmZmZmZ ddlmZ eZG dd„ dƒZdS ))Ú
commonmarkÚdefaultÚzeroÚ
js_defaultÚgfm_likeé   )r   r   r   é   )Ú
PresetTypec                   @   s"   e Zd ZdZedefdd„ƒZdS )r   a  GitHub Flavoured Markdown (GFM) like.

    This adds the linkify, table and strikethrough components to CommmonMark.

    Note, it lacks task-list items and raw HTML filtering,
    to meet the the full GFM specification
    (see https://github.github.com/gfm/#autolinks-extension-).
    Úreturnc                  C   s€   t  ¡ } | d d d  d¡ | d d d  d¡ | d d d  ddg¡ | d d d	  d¡ d
| d d< d
| d d< | S )NÚ
componentsÚcoreÚrulesZlinkifyÚblockÚtableÚinlineZstrikethroughZrules2TÚoptionsÚhtml)r   ÚmakeÚappendÚextend)Úconfig© r   úS/var/www/html/lang_env/lib/python3.10/site-packages/markdown_it/presets/__init__.pyr      s   zgfm_like.makeN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústaticmethodr   r   r   r   r   r   r   	   s    	r   N)	Ú__all__Ú r   r   r   Úutilsr   r   r   r   r   r   r   Ú<module>   s
    