8 H__PAGEZERO(__TEXT__text__TEXT 7__stubs__TEXTPP__stub_helper__TEXTpRpR__const__TEXTUU__cstring__TEXTx\#x\__unwind_info__TEXTl__DATA__nl_symbol_ptr__DATAN__got__DATAP__la_symbol_ptr__DATA p R__bss__DATA$H__LINKEDIT "0HPH(v P %Q /usr/lib/dyldn5S-Vb$ *(% P@rpath/libcmark-gfmextensions.0.28.3.gfm.11.dylib @@rpath/libcmark-gfm.0.28.3.gfm.11.dylib 0 /usr/lib/libc++.1.dylib 8/usr/lib/libSystem.B.dylibp /Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark-upstream/build/extensionsh /Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark-upstream/build/src&)(UHAVSIH=; 17HHBH B1LHuH[A^]U8UH]6fff.UH7w ]DUHAWAVSHIHt,)@)P)`)p)e)m)u)}L8L0H(HeHHEHHEHEHEE0E‰tC7L=heI?H5hB1Y7I?HUL7I7 C7CH)eHH;EuH[A^A_]5ffff.UHAWAVAUATSHIAAHt/)0)@)P)`)p)m)u)}L(L HdHHEHHEHEHEE0E E9uCdL-adI}H5`A1Q6I}HUL6Iu 96CI}H5@1D6I}H5@1D6HcHH;EuH[A\A]A^A_]e4DUHAWAVAUATSHIIIHt8)0)@)P)`)p)))L(L H_cHHELL5HHMHMHME0E …>L-cI}H5@15I}HULM5Iu 4CH=@15LcL4L-?L4HH=b?H4L4LHH4H41H=?4LcL4Lf4HH=?Hf4L4LHHW4H+4H>H1HLMD4HT4L.4L&4L4L3CHaHH;EuH[A\A]A^A_]F2fDUH1]ÐUHAVSHDC SKL5aI>H5Y>1~3{It H=p>H=a>[A^]j3UHAWAVAUATSHxHH%aHHEпX2IƿK2IĿ>2ILL1H>1H߉LL1H>1H߉LLl11@H=1HLLH11@H=1HoL91HDžh(5)E(5)EH6HE(5)E(5)ELuHLHLqHhH]HxHLF1HpH5E1ff.IG,&D0IHpLO0A1HxH =EhL20IIHuHp00I1ff.F,#Dh0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H0HL]/11LLLLHHH +/1LMHHx0KH/H/11LH 0I{11LmLH 0I\LLHtHH .1LHLMHH.11LH C0I11LH 30ILLHHH ].1LmLHLRH6LL.11LH /L?LHHH .1LHL="/LHL.11LH h/%LLH=HH -1LHLH}L-11LL=/L LLH HH -1LHHf.9HL~-11LLp L*LH HH M-1LHH .HH@-11LLI 11L}LH F.I LLH HH ,1LHLiHMH,11LH -I 11LH -I~ L8LH HH ,1LHLH L,11LH h-% L LH= HH O,1LHL=,LHv L?,11LH - L LH HH ,1LHHb,5H L+11LH ,h L" LH HH +1LHH,IH L+11LH K, L LH HH w+1LHL|H` H #,La+1L Lf LH IH+H '+1LHLIL L+11LH +I L LHa IH *1HLLL HH52)fHH5y)WHIH5)EH=+ 1 HH *1LHH*TH8 H= 1 HH|*H *1LHH H= 1 HHp*H y*1LHH H=1Q HH*H *1LHH L={ L HH*H *1LHjHN LHH*H *1LH2H H= 1HH*H +1LHH H= +eHL=*H *1LHLH H=*&HH*H *1LH~Hb H=*HH *1LHLFH* H=*HH *1LHLHH=*zHH*H *1LHHH=* >HH*H *1LHHzH=* HH *1LHL^HBH=* HH *1LHL&H H=* HH *1LHLHH=* ZHH *1LHLHH=*"HHy*H *1LHzH^H=*HHl*H v*1LH>H"H=x* HHl*H ~*1LHHH=|* nHHq*H *1LHHLH=O*HHe*H *1LHHf1 HH5*HH5*HHIIG01Hx@H*1LHLfEbE[a](]Ifffff.ECD4EC4IIuH= 611L+IH=515+5i 5+ 5HcHiMbHH?H& 5L7L/1=5@H)1H}EfE((((HpDžx L@IFLHHPH9LsD2LLHu2LH5"LKLHI1H`LLH !L@HhILLmIHPH9IH/HH;EuHĘ[A\A]A^A_]%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%/%0%0%0%0%0% 0% 0%0%0%0%0%0%0%0L-AS%-hOhfhhhhhhh!h9hYh{xhnhdhZhPh'FhFhb4hw*h hh hhhhparagraph     ## Header * Item 1 * Item 2 2. Item 1 3. Item 2 ``` lang fenced ``` code
html
[link](url 'title')

Header

  1. Item 1

  2. Item 2

  • Item 1
  • Item 2
FENCED
CODE
HTML

LINK

a *b* c * item1 * item2 a `b` c * item1 * item2

a c

a c

foo *bar* paragraph 2 foo *bar* paragraph 2 foo *bar* - Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. foo *bar* $% - Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. > \- foo *bar* \*bar\* - Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. > \- foo *bar* \*bar\* - Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. (((())))``` ``` # Hello - a - b - c - dline line ``` line ```
hi
hi [link](JAVAscript:alert('hi')) ![image](file:my.js) # Hi *there*. Hello “ there `hi` -- [okay](www.google.com (ok)). > 1. Okay. > Sure. > > 2. Yes, okay. > ![ok](hi "yes") Let's try [reference] links. [reference]: https://github.com (GitHub)

paragraph

libcmark works with C++ Got: %d Expected: %d actual expected git diff --no-index %s %s%d tests passed, %d failed, %d skipped PASS FAIL FAILED test %d: /tmp/fileXXXXXXw+append bquote2append bquote3adding a node as child of itself failsadding a parent as child failsadd %d as child of %dcmark_version0.28.3.gfm.11cmark_version_stringnew type %dget_type %ddefault heading level is 1default is list type is bulletdefault is list delim is NO_DELIMdefault is list start is 0default is list is looseget_heading_levelget_list_type bulletget_list_tight tightget_list_type orderedget_list_delim orderedget_list_startget_list_tight loosefenced get_literal fenced codelangget_fence_infocode get_literal indented code
html
get_literal htmlget_start_lineget_start_columnget_end_lineurlget_urltitleget_titlelinkget_literal stringset_heading_levelset_list_type orderedset_list_delim parenset_list_startset_list_tight looseset_list_type bulletset_list_tight tightCODE set_literal indented codeFENCED set_literal fenced codeLANGset_fence_info
HTML
set_literal htmlURLset_urlTITLEset_titleprefix-LINKset_literal stringset_literal suffixsetters workget_heading_level errorget_list_type errorget_list_start errorget_list_tight errorget_literal errorget_fence_info errorget_url errorget_title errorset_heading_level errorset_list_type errorset_list_start errorset_list_tight errorcontent set_literal errorset_fence_info errorset_url errorset_title errorset_heading_level too smallset_heading_level too largeset_list_type invalidset_list_start negativenode_check worksnode_check fixes tree> a *b* citerate correctly counts paragraphsiterate and delete nodesinsert before root failsinsert after root failsappend1append1 consistentnode_parentprepend1prepend1 consistentHello, prepend2prepend2 consistent!append2append2 consistentworldappend3append3 consistent

Hello, world!

render_htmlins before1ins before1 consistentins before1 worksins before2ins before2 consistentins before2 worksins after1ins after1 consistentins after1 worksins after2ins after2 consistentins after2 worksbrzzreplacereplace consistentreplace worksreplace str for p fails

brzz!

render_html after shufflingHelloset_on_exitget_on_enterget_on_exit

No newline

document without trailing newline

foo bar

render single paragraphfoo render single inlinebarrender inline with children foo bar paragraph 2 render document foo bar render first paragraph with source pos.PP foo \f[I]bar\f[] .IP \[bu] 2 Lorem ipsum dolor sit amet, consectetur adipiscing elit, .IP \[bu] 2 sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. render document with wrapping.PP foo \f[I]bar\f[] .IP \[bu] 2 Lorem ipsum dolor sit amet, consectetur adipiscing elit, .IP \[bu] 2 sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. render document without wrappingfoo \emph{bar} \$\% \begin{itemize} \item Lorem ipsum dolor sit amet, consectetur adipiscing elit, \item sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. \end{itemize} foo \emph{bar} \$\% \begin{itemize} \item Lorem ipsum dolor sit amet, consectetur adipiscing elit, \item sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. \end{itemize} > \- foo *bar* \*bar\* - Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. > \- foo *bar* \*bar\* - Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. HiHi render single inline node- foo bar *bar* - Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. - foo bar *bar* - Lorem ipsum dolor sit amet, consectetur adipiscing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. valid utf8 01valid utf8 7Finvalid utf8 80invalid utf8 BFinvalid utf8 C080invalid utf8 C1BF€valid utf8 C280߿valid utf8 DFBFinvalid utf8 E08080invalid utf8 E09FBFࠀvalid utf8 E0A080퟿valid utf8 ED9FBFinvalid utf8 EDA080invalid utf8 EDBFBFinvalid utf8 F0808080invalid utf8 F08FBFBF𐀀valid utf8 F0908080􏿿valid utf8 F48FBFBFinvalid utf8 F4908080invalid utf8 F7BFBFBFinvalid utf8 F8invalid utf8 FFinvalid utf8 E0A0invalid utf8 F09080

((((�))))

utf8 with U+0000
utf8 with \0\n

Hello

utf8 with BOM((((%s))))

((((%s))))

----%s

----�

((((� �))))

invalid utf8 continuation byte %d/%d
  • a
  • b
  • c
  • d
list with different line endings

line
line

crlf endings with CMARK_OPT_HARDBREAKS

line line

crlf endings with CMARK_OPT_NOBREAKS
line
fenced code block with no final newline�

Invalid numeric entity 0퟿

Valid numeric entity 0xD7FF�Invalid numeric entity 0xD800�Invalid numeric entity 0xDFFF

Valid numeric entity 0xE000􏿿

􏿿

Valid numeric entity 0x10FFFF�Invalid numeric entity 0x110000�Invalid numeric entity 0x80000000�Invalid numeric entity 0xFFFFFFFF�Invalid numeric entity 99999999&#;

&#;

Min decimal entity length&#x;

&#x;

Min hexadecimal entity length�

&#999999999;

Max decimal entity lengthA

&#x000000041;

Max hexadecimal entity length

hi link image

input with raw HTML and dangerous linksline1 line2 document has one paragraph[a](btakes less than 1000ms to run[a]( Hi there . Hello “ http://www.google.com there hi -- okay . Okay. Sure. Yes, okay. ok sourcepos are as expected Let's try reference links. ((!X@@P@ (P@aTTTTRRRRRRRRRRRRRS SS S*S4S>SHSRS\SfSpSzSSSSSSSSSSSSSSTTT$T.T8TBTLTVT`TjTtT~TTTTTTTTTU UUU(U2U?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstu@'(%&)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrst _INT_EQ_OK_SKIP_STR_EQ__mh_execute_header_hierarchy_main_test_batch_runner_new_test_cplusplus_test_ok_test_print_summary___sprintf_chk___stack_chk_fail___stack_chk_guard___stderrp___strcat_chk_calloc_cmark_iter_free_cmark_iter_get_node_cmark_iter_new_cmark_iter_next_cmark_markdown_to_html_cmark_node_append_child_cmark_node_check_cmark_node_first_child_cmark_node_free_cmark_node_get_end_line_cmark_node_get_fence_info_cmark_node_get_heading_level_cmark_node_get_list_delim_cmark_node_get_list_start_cmark_node_get_list_tight_cmark_node_get_list_type_cmark_node_get_literal_cmark_node_get_on_enter_cmark_node_get_on_exit_cmark_node_get_start_column_cmark_node_get_start_line_cmark_node_get_title_cmark_node_get_type_cmark_node_get_url_cmark_node_insert_after_cmark_node_insert_before_cmark_node_last_child_cmark_node_new_cmark_node_next_cmark_node_parent_cmark_node_prepend_child_cmark_node_previous_cmark_node_replace_cmark_node_set_fence_info_cmark_node_set_heading_level_cmark_node_set_list_delim_cmark_node_set_list_start_cmark_node_set_list_tight_cmark_node_set_list_type_cmark_node_set_literal_cmark_node_set_on_enter_cmark_node_set_on_exit_cmark_node_set_title_cmark_node_set_url_cmark_node_unlink_cmark_parse_document_cmark_parser_feed_cmark_parser_finish_cmark_parser_free_cmark_parser_new_cmark_render_commonmark_cmark_render_html_cmark_render_latex_cmark_render_man_cmark_render_plaintext_cmark_render_xml_cmark_version_cmark_version_string_fclose_fdopen_fprintf_fputc_fputs_free_fwrite_gettimeofday_mkstemp_remove_snprintf_strcmp_strdup_strlen_system_vfprintfdyld_stub_binder_test_content_test_continuation_byte__ZZ14test_cplusplusE2md_node_types_accessors.markdown_accessors.expected_html_iterator_delete.md_iterator_delete.expected_render_html.markdown_render_xml.markdown_render_man.markdown_render_latex.markdown_render_commonmark.markdown_render_plaintext.markdown_utf8.string_with_null_utf8.string_with_nul_lf_utf8.string_with_bom_line_endings.list_with_endings_line_endings.crlf_lines_line_endings.no_line_ending_test_safe.raw_html_source_pos.markdown_ref_source_pos.markdown__before__after__timing