diff --git a/packages/markdown/package.json b/packages/markdown/package.json index cf2b93937..d8e0500b4 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@react-email/markdown", - "version": "0.0.5", + "version": "0.0.6", "description": "Convert markdown input to valid react-email synthax", "sideEffects": false, "main": "./dist/index.js", @@ -61,6 +61,6 @@ "typescript": "5.1.6" }, "dependencies": { - "md-to-react-email": "4.0.0" + "md-to-react-email": "4.1.0" } } diff --git a/packages/markdown/src/markdown.spec.tsx b/packages/markdown/src/markdown.spec.tsx index 2c81a9edb..bd054d91f 100644 --- a/packages/markdown/src/markdown.spec.tsx +++ b/packages/markdown/src/markdown.spec.tsx @@ -56,9 +56,9 @@ console.log(\`Hello, \$\{name\}!\`); , ); expect(actualOutput).toMatchInlineSnapshot(` -"

Markdown Test Document

This is a test document to check the capabilities of a Markdown parser.

-

Headings

Third-Level Heading

Fourth-Level Heading

Fifth-Level Heading
Sixth-Level Heading

Text Formatting

This is some bold text and this is some italic text. You can also use strikethrough and inline code.

-

Lists

    +"

    Markdown Test Document

    This is a test document to check the capabilities of a Markdown parser.

    +

    Headings

    Third-Level Heading

    Fourth-Level Heading

    Fifth-Level Heading
    Sixth-Level Heading

    Text Formatting

    This is some bold text and this is some italic text. You can also use strikethrough and inline code.

    +

    Lists

    1. Ordered List Item 1
    2. Ordered List Item 2
    3. Ordered List Item 3
    4. @@ -68,15 +68,15 @@ console.log(\`Hello, \$\{name\}!\`);
    5. Unordered List Item 2
    6. Unordered List Item 3
    7. -

      Links

      Markdown Guide

      -

      Images

      \\"Markdown

      -

      Blockquotes

      +

      Links

      Markdown Guide

      +

      Images

      \\"Markdown

      +

      Blockquotes

      This is a blockquote.

      • Author
      -

      Code Blocks

      function greet(name) {
      +

      Code Blocks

      function greet(name) {
       console.log(\`Hello, \${name}!\`);
       }
       
      @@ -121,7 +121,7 @@ console.log(\`Hello, \${name}!\`); >{`Link to [React-email](https://react.email)`}, ); expect(actualOutput).toMatchInlineSnapshot(` -"

      Link to React-email

      +"

      Link to React-email

      " `); }); @@ -139,7 +139,7 @@ console.log(\`Hello, \${name}!\`); , ); expect(actualOutput).toMatchInlineSnapshot(` -"

      Below is a list

        +"

        Below is a list

        • Item One
        • Item Two
        • Item Three