           <text>“</text>\n    <text>smart</text>\n    <text>”</text>\n    <text> quotes</text>\n    <text>.</text>
         </paragraph>\n</document>\n"
 
+      iex> Cmark.to_xml([~s(Something "smart"), ~s(em---dashed)], [:smart])
+      ["<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE document SYSTEM \"CommonMark.dtd\">
+      <document xmlns=\"http://commonmark.org/xml/1.0\">\n  <paragraph>\n    <text>Something </text>
+          <text>“</text>\n    <text>smart</text>\n    <text>”</text>\n  </paragraph>\n</document>\n",
+      "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE document SYSTEM \"CommonMark.dtd\">
+      <document xmlns=\"http://commonmark.org/xml/1.0\">\n  <paragraph>\n    <text>em</text>
+          <text>—</text>\n    <text>dashed</text>\n  </paragraph>\n</document>\n"]
+
   -----
 
   Compiles one or more (list) Markdown documents to XML and calls function with result.

      iex> Cmark.to_latex(~s(Use option to enable "smart" quotes.), [:smart])
      "Use option to enable ``smart'' quotes.\n"

  -----

  Compiles one or more (list) Markdown documents to LaTeX and calls function with result.

      iex> Cmark.to_man(~s(Use option to enable "smart" quotes.), [:smart])
      ".PP\nUse option to enable \\[lq]smart\\[rq] quotes.\n"

      iex> Cmark.to_man([~s(Something "smart"), ~s(em---dashed)], [:smart])
      [".PP\nSomething \\[lq]smart\\[rq]\n", ".PP\nem\\[em]dashed\n"]

  -----

  Compiles one or more (list) Markdown documents to Manpage and calls function with result.
