@readme/markdown 6.75.0-beta.54 → 6.75.0-beta.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js
CHANGED
|
@@ -94228,6 +94228,8 @@ const compatibility = (node) => {
|
|
|
94228
94228
|
return `<${node.tag} />`;
|
|
94229
94229
|
case 'html':
|
|
94230
94230
|
return compatibility_html(node);
|
|
94231
|
+
case 'escape':
|
|
94232
|
+
return `\\${node.value}`;
|
|
94231
94233
|
default:
|
|
94232
94234
|
throw new Error('Unhandled node type!');
|
|
94233
94235
|
}
|
|
@@ -94256,6 +94258,7 @@ function compilers() {
|
|
|
94256
94258
|
[NodeTypes.variable]: compile_compatibility,
|
|
94257
94259
|
[NodeTypes.glossary]: compile_compatibility,
|
|
94258
94260
|
[NodeTypes.reusableContent]: compile_compatibility,
|
|
94261
|
+
escape: compile_compatibility,
|
|
94259
94262
|
html: compile_compatibility,
|
|
94260
94263
|
};
|
|
94261
94264
|
toMarkdownExtensions.push({ extensions: [{ handlers }] });
|
package/dist/main.node.js
CHANGED
|
@@ -95681,6 +95681,8 @@ const compatibility = (node) => {
|
|
|
95681
95681
|
return `<${node.tag} />`;
|
|
95682
95682
|
case 'html':
|
|
95683
95683
|
return compatibility_html(node);
|
|
95684
|
+
case 'escape':
|
|
95685
|
+
return `\\${node.value}`;
|
|
95684
95686
|
default:
|
|
95685
95687
|
throw new Error('Unhandled node type!');
|
|
95686
95688
|
}
|
|
@@ -95709,6 +95711,7 @@ function compilers() {
|
|
|
95709
95711
|
[NodeTypes.variable]: compile_compatibility,
|
|
95710
95712
|
[NodeTypes.glossary]: compile_compatibility,
|
|
95711
95713
|
[NodeTypes.reusableContent]: compile_compatibility,
|
|
95714
|
+
escape: compile_compatibility,
|
|
95712
95715
|
html: compile_compatibility,
|
|
95713
95716
|
};
|
|
95714
95717
|
toMarkdownExtensions.push({ extensions: [{ handlers }] });
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@readme/markdown",
|
|
3
3
|
"description": "ReadMe's React-based Markdown parser",
|
|
4
4
|
"author": "Rafe Goldberg <rafe@readme.io>",
|
|
5
|
-
"version": "6.75.0-beta.
|
|
5
|
+
"version": "6.75.0-beta.55",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"browser": "dist/main.js",
|