@mintlify/cli 4.0.1679 → 4.0.1680
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/bin/vendor/converter.js
CHANGED
|
@@ -6654,7 +6654,7 @@ import { Node as Node3 } from "prosemirror-model";
|
|
|
6654
6654
|
import { visit as visit3 } from "unist-util-visit";
|
|
6655
6655
|
|
|
6656
6656
|
// ../editor/dist/converter/parse/mdx-to-mdast.js
|
|
6657
|
-
import { preprocessCustomHeadingIds } from "@mintlify/common";
|
|
6657
|
+
import { preprocessCustomHeadingIds, unwrapCurrencyMath } from "@mintlify/common";
|
|
6658
6658
|
import { remark } from "remark";
|
|
6659
6659
|
import remarkFrontmatter from "remark-frontmatter";
|
|
6660
6660
|
import remarkGfm from "remark-gfm";
|
|
@@ -11776,6 +11776,8 @@ function parsePreprocessedMdx(preprocessed, math = true) {
|
|
|
11776
11776
|
const options = { acorn: createExpressionParser(preprocessed) };
|
|
11777
11777
|
const root = (math ? mathRemark : coreRemark)().use(remarkMdx, options).parse(preprocessed);
|
|
11778
11778
|
markClosedVideos(root, preprocessed);
|
|
11779
|
+
if (math)
|
|
11780
|
+
unwrapCurrencyMath(root, preprocessed);
|
|
11779
11781
|
return root;
|
|
11780
11782
|
}
|
|
11781
11783
|
function mdxToMdast(mdx, options = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1680",
|
|
4
4
|
"description": "The Mintlify CLI",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@inquirer/prompts": "7.9.0",
|
|
48
|
-
"@mintlify/common": "1.0.
|
|
49
|
-
"@mintlify/link-rot": "3.0.
|
|
48
|
+
"@mintlify/common": "1.0.1273",
|
|
49
|
+
"@mintlify/link-rot": "3.0.1494",
|
|
50
50
|
"@mintlify/models": "0.0.376",
|
|
51
|
-
"@mintlify/og": "0.0.
|
|
52
|
-
"@mintlify/prebuild": "1.0.
|
|
53
|
-
"@mintlify/previewing": "4.0.
|
|
51
|
+
"@mintlify/og": "0.0.71",
|
|
52
|
+
"@mintlify/prebuild": "1.0.1438",
|
|
53
|
+
"@mintlify/previewing": "4.0.1514",
|
|
54
54
|
"@mintlify/validation": "0.1.929",
|
|
55
55
|
"adm-zip": "0.6.0",
|
|
56
56
|
"chalk": "5.2.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"keytar": "7.9.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@mintlify/editor": "0.0.
|
|
85
|
+
"@mintlify/editor": "0.0.535",
|
|
86
86
|
"@mintlify/ts-config": "2.0.2",
|
|
87
87
|
"@tsconfig/recommended": "1.0.2",
|
|
88
88
|
"@types/detect-port": "1.3.2",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"vitest": "2.1.9",
|
|
102
102
|
"vitest-mock-process": "1.0.4"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "2af0cf7e59dcd3c4998bdec0b1677bc8744b1cda"
|
|
105
105
|
}
|