mystmd 1.3.2__py3-none-any.whl → 1.3.3__py3-none-any.whl
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.2.dist-info → mystmd-1.3.3.dist-info}/METADATA +1 -1
- mystmd-1.3.3.dist-info/RECORD +8 -0
- mystmd_py/myst.cjs +16 -5
- mystmd-1.3.2.dist-info/RECORD +0 -8
- {mystmd-1.3.2.dist-info → mystmd-1.3.3.dist-info}/WHEEL +0 -0
- {mystmd-1.3.2.dist-info → mystmd-1.3.3.dist-info}/entry_points.txt +0 -0
- {mystmd-1.3.2.dist-info → mystmd-1.3.3.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
mystmd_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
mystmd_py/main.py,sha256=BaPniv8thshA5DKIBoq2huFUs1Jb0zFkMxN2UIHXUkw,1511
|
3
|
+
mystmd_py/myst.cjs,sha256=Xq49AB9KLxnM6JNNLyf7vYIhOr_Sc8tMsEm0NCnXrLs,13093067
|
4
|
+
mystmd-1.3.3.dist-info/METADATA,sha256=A3ilDq0AI8AdYHU89B19jStpaLCw_O7GgtDNgA2f3aE,2954
|
5
|
+
mystmd-1.3.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
6
|
+
mystmd-1.3.3.dist-info/entry_points.txt,sha256=eC2ol2gqS2q5E-ktkMrBSvV0tckGUcNGS-c4hEQ-_V4,45
|
7
|
+
mystmd-1.3.3.dist-info/licenses/LICENSE,sha256=4BcikqvulW5nh_MxaocO-lC7ydIX23dMbcqtNTUSxr4,1082
|
8
|
+
mystmd-1.3.3.dist-info/RECORD,,
|
mystmd_py/myst.cjs
CHANGED
@@ -193562,7 +193562,7 @@ var {
|
|
193562
193562
|
} = import_index.default;
|
193563
193563
|
|
193564
193564
|
// src/version.ts
|
193565
|
-
var version = "1.3.
|
193565
|
+
var version = "1.3.3";
|
193566
193566
|
var version_default = version;
|
193567
193567
|
|
193568
193568
|
// ../myst-cli/dist/build/build.js
|
@@ -241901,7 +241901,7 @@ function getCitationRenderers(data) {
|
|
241901
241901
|
"DOI",
|
241902
241902
|
"ISSN"
|
241903
241903
|
].forEach((tag) => {
|
241904
|
-
if (c[tag])
|
241904
|
+
if (c[tag] && typeof c[tag] === "string")
|
241905
241905
|
c[tag] = c[tag].trim();
|
241906
241906
|
});
|
241907
241907
|
if (c.URL)
|
@@ -288736,7 +288736,7 @@ var import_node_path16 = __toESM(require("path"), 1);
|
|
288736
288736
|
var import_nbtx = __toESM(require_cjs2(), 1);
|
288737
288737
|
|
288738
288738
|
// ../myst-cli/dist/version.js
|
288739
|
-
var version2 = "1.3.
|
288739
|
+
var version2 = "1.3.3";
|
288740
288740
|
var version_default2 = version2;
|
288741
288741
|
|
288742
288742
|
// ../myst-cli/dist/utils/headers.js
|
@@ -301718,7 +301718,7 @@ async function transformOutputsToCache(session, mdast2, kind, opts) {
|
|
301718
301718
|
if (!outputs.length)
|
301719
301719
|
return;
|
301720
301720
|
const cache = castSession(session);
|
301721
|
-
await Promise.all(outputs.map(async (output2) => {
|
301721
|
+
await Promise.all(outputs.filter((output2) => output2.visibility !== "remove").map(async (output2) => {
|
301722
301722
|
output2.data = await (0, import_nbtx3.minifyCellOutput)(output2.data, cache.$outputs, {
|
301723
301723
|
computeHash,
|
301724
301724
|
maxCharacters: opts === null || opts === void 0 ? void 0 : opts.minifyMaxCharacters
|
@@ -304621,6 +304621,9 @@ var handlers3 = {
|
|
304621
304621
|
},
|
304622
304622
|
code(node3, state) {
|
304623
304623
|
var _a6;
|
304624
|
+
if (node3.visibility === "remove") {
|
304625
|
+
return;
|
304626
|
+
}
|
304624
304627
|
let start = "\\begin{verbatim}\n";
|
304625
304628
|
let end = "\n\\end{verbatim}";
|
304626
304629
|
if (state.options.codeStyle === "listings" || getClasses(node3.class).includes("listings") && node3.lang !== void 0) {
|
@@ -305973,7 +305976,12 @@ function writeTypst(node3, state = new State4()) {
|
|
305973
305976
|
const env7 = typstEnvs[node3.env];
|
305974
305977
|
env7 === null || env7 === void 0 ? void 0 : env7(state, node3);
|
305975
305978
|
} else if (Array.isArray(node3.content)) {
|
305979
|
+
const wrapChildren2 = state.value.match(/([_^])$/) && node3.type === "group";
|
305980
|
+
if (wrapChildren2)
|
305981
|
+
state.openFunction("");
|
305976
305982
|
state.writeChildren(node3);
|
305983
|
+
if (wrapChildren2)
|
305984
|
+
state.closeFunction();
|
305977
305985
|
} else if (node3.type === "macro" && Array.isArray(node3.args)) {
|
305978
305986
|
const converted = convert4(state, node3);
|
305979
305987
|
if (node3.args.length === 0) {
|
@@ -305998,7 +306006,7 @@ function writeTypst(node3, state = new State4()) {
|
|
305998
306006
|
return state;
|
305999
306007
|
}
|
306000
306008
|
function postProcess(typst) {
|
306001
|
-
return typst.replace(/^(_|\^)/, '""$1');
|
306009
|
+
return typst.replace(/^(_|\^)/, '""$1').replace(/"([^"]*)"=/g, '"$1" =');
|
306002
306010
|
}
|
306003
306011
|
function texToTypst(value) {
|
306004
306012
|
const tree = parseLatex2(value);
|
@@ -306247,6 +306255,9 @@ var handlers4 = {
|
|
306247
306255
|
},
|
306248
306256
|
code(node3, state) {
|
306249
306257
|
var _a6;
|
306258
|
+
if (node3.visibility === "remove") {
|
306259
|
+
return;
|
306260
|
+
}
|
306250
306261
|
let ticks = "```";
|
306251
306262
|
while (node3.value.includes(ticks)) {
|
306252
306263
|
ticks += "`";
|
mystmd-1.3.2.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
mystmd_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
mystmd_py/main.py,sha256=BaPniv8thshA5DKIBoq2huFUs1Jb0zFkMxN2UIHXUkw,1511
|
3
|
-
mystmd_py/myst.cjs,sha256=XFX9-H6815oyW_UX3uV22wfn0sGx6EVLfKqIAuyV_40,13092642
|
4
|
-
mystmd-1.3.2.dist-info/METADATA,sha256=h9ZahRILugoBihFXbMxfab8I76niKxwJ77pBQCWbG54,2954
|
5
|
-
mystmd-1.3.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
6
|
-
mystmd-1.3.2.dist-info/entry_points.txt,sha256=eC2ol2gqS2q5E-ktkMrBSvV0tckGUcNGS-c4hEQ-_V4,45
|
7
|
-
mystmd-1.3.2.dist-info/licenses/LICENSE,sha256=4BcikqvulW5nh_MxaocO-lC7ydIX23dMbcqtNTUSxr4,1082
|
8
|
-
mystmd-1.3.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|