@readme/markdown 6.75.0-beta.15 → 6.75.0-beta.16
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 +1 -8
- package/dist/main.node.js +1 -8
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -58734,14 +58734,7 @@ var reactProcessor = function (opts) {
|
|
|
58734
58734
|
};
|
|
58735
58735
|
var index_compile = function (text, opts) {
|
|
58736
58736
|
if (opts === void 0) { opts = {}; }
|
|
58737
|
-
|
|
58738
|
-
var code = compileSync(text, index_assign({ outputFormat: 'function-body', providerImportSource: '@mdx-js/react', remarkPlugins: [callouts] }, opts));
|
|
58739
|
-
return code;
|
|
58740
|
-
}
|
|
58741
|
-
catch (e) {
|
|
58742
|
-
console.error(e);
|
|
58743
|
-
return '';
|
|
58744
|
-
}
|
|
58737
|
+
return String(compileSync(text, index_assign({ outputFormat: 'function-body', providerImportSource: '@mdx-js/react', remarkPlugins: [callouts] }, opts)));
|
|
58745
58738
|
};
|
|
58746
58739
|
var index_run = function (code, opts) {
|
|
58747
58740
|
if (opts === void 0) { opts = {}; }
|
package/dist/main.node.js
CHANGED
|
@@ -60267,14 +60267,7 @@ var reactProcessor = function (opts) {
|
|
|
60267
60267
|
};
|
|
60268
60268
|
var index_compile = function (text, opts) {
|
|
60269
60269
|
if (opts === void 0) { opts = {}; }
|
|
60270
|
-
|
|
60271
|
-
var code = compileSync(text, index_assign({ outputFormat: 'function-body', providerImportSource: '@mdx-js/react', remarkPlugins: [callouts] }, opts));
|
|
60272
|
-
return code;
|
|
60273
|
-
}
|
|
60274
|
-
catch (e) {
|
|
60275
|
-
console.error(e);
|
|
60276
|
-
return '';
|
|
60277
|
-
}
|
|
60270
|
+
return String(compileSync(text, index_assign({ outputFormat: 'function-body', providerImportSource: '@mdx-js/react', remarkPlugins: [callouts] }, opts)));
|
|
60278
60271
|
};
|
|
60279
60272
|
var index_run = function (code, opts) {
|
|
60280
60273
|
if (opts === void 0) { opts = {}; }
|
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.16",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"browser": "dist/main.js",
|