
    Mi                     ~    S SK r S SKrS SKJrJrJrJrJrJrJrJ	r	  \R                  SS 4S jr\S:X  a  \" 5         gg)    N)markdownifyATX
ATX_CLOSED
UNDERLINEDSPACES	BACKSLASHASTERISK
UNDERSCORE   c           	         [         R                  " SSS9nUR                  SS[         R                  " S5      [        R
                  SS9  UR                  S	S
SSS9  UR                  SSSSS9  UR                  SSSSS9  UR                  SSSS9  UR                  S[        [        [        [        4SS9  UR                  SSSSS 9  UR                  S![        [        [        4S"S94  UR                  S#S$S%S 9  UR                  S&S$S'S 9  UR                  S([        [        [        4S)S9  UR                  S*S$S+S 9  UR                  S,S-SS.S/9  UR                  S0S1SS2S/9  UR                  S3S4/ SS5S69  UR                  S7S8SS9S/9  UR                  S:S;SS<S9  UR                  S=[        S>S?9  UR                  S@SASBS 9  UR                  U 5      n[        [!        SC0 [#        U5      D65        g )DNr   zConverts html to markdown.)progdescriptionhtml?rz<The html file to convert. Defaults to STDIN if not provided.)nargstypedefaulthelpz-sz--strip*zMA list of tags to strip. This option can't be used with the --convert option.)r   r   z-cz	--convertzMA list of tags to convert. This option can't be used with the --strip option.z-az--autolinks
store_truezpA boolean indicating whether the 'automatic link' style should be used when a 'a' tag's contents match its href.)actionr   z--default-titlestore_falsezRA boolean to enable setting the title of a link to its href, if no title is given.z--heading-stylez)Defines how headings should be converted.)r   choicesr   z-bz	--bulletsz*+-zSA string of bullet styles to use; the bullet will alternate based on nesting level.)r   r   z--strong-em-symbolz-Use * or _ to convert strong and italics textz--sub-symbol z'Define the chars that surround '<sub>'.z--sup-symbolz'Define the chars that surround '<sup>'.z--newline-stylezhDefines the style of <br> conversions: two spaces or backslash at the and of the line thet should break.z--code-languagezEDefines the language that should be assumed for all '<pre>' sections.z--no-escape-asterisksescape_asterisksz"Do not escape '*' to '\*' in text.)destr   r   z--no-escape-underscoresescape_underscoresz"Do not escape '_' to '\_' in text.z-iz--keep-inline-images-ina
  Images are converted to their alt-text when the images are located inside headlines or table cells. If some inline images should be converted to markdown images instead, this option can be set to a list of parent tags that should be allowed to contain inline images.)r   r   r   z--table-infer-headertable_infer_headerzoWhen a table has no header row (as indicated by '<thead>' or '<th>'), use the first body row as the header row.z-wz--wrapz4Wrap all text paragraphs at --wrap-width characters.z--wrap-widthP   )r   r   z--bs4-optionszhtml.parserzSpecifies the parser that BeautifulSoup should use to parse the HTML markup. Examples include 'html5.parser', 'lxml', and 'html5lib'. )argparseArgumentParseradd_argumentFileTypesysstdinr   r   r   r	   r
   r   r   int
parse_argsprintr   vars)argvparserargss      j/var/www/eduai.edurigo.com/storigo/production/storigo_env/lib/python3.13/site-packages/markdownify/main.pymainr0   
   s   $$0F
 c0A0A#0F #		$  % is0  1 k.  / mLS  T )-6  7 ):!$j* =H  J k5<  = ,h!): 6L  N O F  H
F  H
)6!' 3Q  R )2,  - /6H,B  D 18L,B  D 7 "!1  2 .5I+P  Q h|S  U
S"=
 -+  , T"D	+
#T

#$    __main__)r"   r&   r   r   r   r   r   r   r	   r
   r,   r0   __name__r!   r1   r/   <module>r4      sF     
, , , hhqrl F%R zF r1   