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(` -"
This is a test document to check the capabilities of a Markdown parser.
-This is some bold text and this is some italic text. You can also use strikethrough and inline code.
This is a test document to check the capabilities of a Markdown parser.
+This is some bold text and this is some italic text. You can also use strikethrough and inline code.
![]()
+Links
+Images
+
Blockquotes
-This is a blockquote.
- Author
Code Blocks
function greet(name) { +Code Blocks
@@ -121,7 +121,7 @@ console.log(\`Hello, \${name}!\`); >{`Link to [React-email](https://react.email)`}, ); expect(actualOutput).toMatchInlineSnapshot(` -"function greet(name) { console.log(\`Hello, \${name}!\`); }Link to React-email
+"" `); }); @@ -139,7 +139,7 @@ console.log(\`Hello, \${name}!\`); , ); expect(actualOutput).toMatchInlineSnapshot(` -"Link to React-email
Below is a list
+"
Below is a list
- Item One
- Item Two
- Item Three