mystmd 1.3.21__tar.gz → 1.3.22__tar.gz
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.
- {mystmd-1.3.21 → mystmd-1.3.22}/PKG-INFO +1 -1
- {mystmd-1.3.21 → mystmd-1.3.22}/_package.json +2 -2
- {mystmd-1.3.21 → mystmd-1.3.22}/src/mystmd_py/myst.cjs +6 -3
- {mystmd-1.3.21 → mystmd-1.3.22}/.gitignore +0 -0
- {mystmd-1.3.21 → mystmd-1.3.22}/LICENSE +0 -0
- {mystmd-1.3.21 → mystmd-1.3.22}/README.md +0 -0
- {mystmd-1.3.21 → mystmd-1.3.22}/pyproject.toml +0 -0
- {mystmd-1.3.21 → mystmd-1.3.22}/src/mystmd_py/__init__.py +0 -0
- {mystmd-1.3.21 → mystmd-1.3.22}/src/mystmd_py/main.py +0 -0
- {mystmd-1.3.21 → mystmd-1.3.22}/src/mystmd_py/nodeenv.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "mystmd",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.22",
|
4
4
|
"description": "Command line tools for MyST Markdown",
|
5
5
|
"author": "Rowan Cockett <rowan@curvenote.com>",
|
6
6
|
"license": "MIT",
|
@@ -45,6 +45,6 @@
|
|
45
45
|
"commander": "^10.0.1",
|
46
46
|
"core-js": "^3.31.1",
|
47
47
|
"js-yaml": "^4.1.0",
|
48
|
-
"myst-cli": "^1.3.
|
48
|
+
"myst-cli": "^1.3.22"
|
49
49
|
}
|
50
50
|
}
|
@@ -193891,7 +193891,7 @@ var {
|
|
193891
193891
|
} = import_index.default;
|
193892
193892
|
|
193893
193893
|
// src/version.ts
|
193894
|
-
var version = "1.3.
|
193894
|
+
var version = "1.3.22";
|
193895
193895
|
var version_default = version;
|
193896
193896
|
|
193897
193897
|
// ../myst-cli/dist/build/build.js
|
@@ -289519,7 +289519,7 @@ var import_node_path16 = __toESM(require("path"), 1);
|
|
289519
289519
|
var import_nbtx = __toESM(require_cjs2(), 1);
|
289520
289520
|
|
289521
289521
|
// ../myst-cli/dist/version.js
|
289522
|
-
var version2 = "1.3.
|
289522
|
+
var version2 = "1.3.22";
|
289523
289523
|
var version_default2 = version2;
|
289524
289524
|
|
289525
289525
|
// ../myst-cli/dist/utils/headers.js
|
@@ -290707,6 +290707,9 @@ function findExpression(expressions, value) {
|
|
290707
290707
|
function processLatex(value) {
|
290708
290708
|
return value.trim().replace(/^\$(\\displaystyle)?/, "").replace(/\$$/, "").trim();
|
290709
290709
|
}
|
290710
|
+
function processPlainText(content3) {
|
290711
|
+
return content3.replace(/^(["'])(.*)\1$/, "$2");
|
290712
|
+
}
|
290710
290713
|
function renderExpression(node3, file) {
|
290711
290714
|
const result = node3.result;
|
290712
290715
|
if (!result)
|
@@ -290728,7 +290731,7 @@ function renderExpression(node3, file) {
|
|
290728
290731
|
} else if (mimeType === "text/html") {
|
290729
290732
|
content3 = [{ type: "html", value }];
|
290730
290733
|
} else if (mimeType === "text/plain") {
|
290731
|
-
content3 = [{ type: "text", value }];
|
290734
|
+
content3 = [{ type: "text", value: processPlainText(value) }];
|
290732
290735
|
}
|
290733
290736
|
});
|
290734
290737
|
if (content3)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|