@tinacms/mdx 0.0.0-9e80aa9-20250620020621 → 0.0.0-9fb1402-20251124051232
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/index.browser.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/parse/index.d.ts +2 -2
- package/package.json +3 -3
package/dist/index.browser.mjs
CHANGED
|
@@ -49101,7 +49101,7 @@ function parseShortcode(preprocessedString, template) {
|
|
|
49101
49101
|
var mdxToAst = (value) => {
|
|
49102
49102
|
return remark().use(remarkMdx).use(remarkGfm).parse(value);
|
|
49103
49103
|
};
|
|
49104
|
-
var MDX_PARSE_ERROR_MSG = "TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/
|
|
49104
|
+
var MDX_PARSE_ERROR_MSG = "TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/r/what-is-markdown";
|
|
49105
49105
|
var parseMDX = (value, field, imageCallback) => {
|
|
49106
49106
|
if (!value) {
|
|
49107
49107
|
return { type: "root", children: [] };
|
package/dist/index.js
CHANGED
|
@@ -50979,7 +50979,7 @@ function parseShortcode(preprocessedString, template) {
|
|
|
50979
50979
|
var mdxToAst = (value) => {
|
|
50980
50980
|
return remark().use(remarkMdx).use(remarkGfm).parse(value);
|
|
50981
50981
|
};
|
|
50982
|
-
var MDX_PARSE_ERROR_MSG = "TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/
|
|
50982
|
+
var MDX_PARSE_ERROR_MSG = "TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/r/what-is-markdown";
|
|
50983
50983
|
var parseMDX = (value, field, imageCallback) => {
|
|
50984
50984
|
if (!value) {
|
|
50985
50985
|
return { type: "root", children: [] };
|
package/dist/index.mjs
CHANGED
|
@@ -50971,7 +50971,7 @@ function parseShortcode(preprocessedString, template) {
|
|
|
50971
50971
|
var mdxToAst = (value) => {
|
|
50972
50972
|
return remark().use(remarkMdx).use(remarkGfm).parse(value);
|
|
50973
50973
|
};
|
|
50974
|
-
var MDX_PARSE_ERROR_MSG = "TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/
|
|
50974
|
+
var MDX_PARSE_ERROR_MSG = "TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/r/what-is-markdown";
|
|
50975
50975
|
var parseMDX = (value, field, imageCallback) => {
|
|
50976
50976
|
if (!value) {
|
|
50977
50977
|
return { type: "root", children: [] };
|
package/dist/parse/index.d.ts
CHANGED
|
@@ -57,8 +57,8 @@ import { RichTextParseError } from './remarkToPlate';
|
|
|
57
57
|
*/
|
|
58
58
|
export declare const markdownToAst: (value: string, field: RichTextType) => import("mdast").Root;
|
|
59
59
|
export declare const mdxToAst: (value: string) => import("mdast").Root;
|
|
60
|
-
export declare const MDX_PARSE_ERROR_MSG = "TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/
|
|
61
|
-
export declare const MDX_PARSE_ERROR_MSG_HTML = "TinaCMS supports a stricter version of markdown and a subset of MDX. <a href=\"https://tina.io/docs/
|
|
60
|
+
export declare const MDX_PARSE_ERROR_MSG = "TinaCMS supports a stricter version of markdown and a subset of MDX. https://tina.io/docs/r/what-is-markdown";
|
|
61
|
+
export declare const MDX_PARSE_ERROR_MSG_HTML = "TinaCMS supports a stricter version of markdown and a subset of MDX. <a href=\"https://tina.io/docs/r/what-is-markdown\" target=\"_blank\" rel=\"noopener noreferrer\">Learn More</a>";
|
|
62
62
|
export declare const parseMDX: (value: string, field: RichTextType, imageCallback: (s: string) => string) => Plate.RootElement;
|
|
63
63
|
export declare const invalidMarkdown: (e: RichTextParseError, value: string) => Plate.RootElement;
|
|
64
64
|
export declare const replaceAll: (string: string, target: string, value: string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/mdx",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-9fb1402-20251124051232",
|
|
4
4
|
"typings": "dist/index.d.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"browser": "dist/index.browser.mjs",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"unist-util-visit": "4.1.2",
|
|
57
57
|
"uvu": "0.5.6",
|
|
58
58
|
"vfile-message": "3.1.4",
|
|
59
|
-
"@tinacms/schema-tools": "0.0.0-
|
|
59
|
+
"@tinacms/schema-tools": "0.0.0-9fb1402-20251124051232"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"registry": "https://registry.npmjs.org"
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"typescript": "^5.7.3",
|
|
81
81
|
"vite": "^4.5.9",
|
|
82
82
|
"vitest": "^0.32.4",
|
|
83
|
-
"@tinacms/scripts": "0.0.0-
|
|
83
|
+
"@tinacms/scripts": "0.0.0-9fb1402-20251124051232"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"types": "tsc",
|