mystmd 1.2.4__tar.gz → 1.2.5__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.2.4 → mystmd-1.2.5}/PKG-INFO +1 -1
- {mystmd-1.2.4 → mystmd-1.2.5}/_package.json +2 -2
- {mystmd-1.2.4 → mystmd-1.2.5}/src/mystmd_py/myst.cjs +149 -37
- {mystmd-1.2.4 → mystmd-1.2.5}/.gitignore +0 -0
- {mystmd-1.2.4 → mystmd-1.2.5}/LICENSE +0 -0
- {mystmd-1.2.4 → mystmd-1.2.5}/README.md +0 -0
- {mystmd-1.2.4 → mystmd-1.2.5}/pyproject.toml +0 -0
- {mystmd-1.2.4 → mystmd-1.2.5}/src/mystmd_py/__init__.py +0 -0
- {mystmd-1.2.4 → mystmd-1.2.5}/src/mystmd_py/main.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "mystmd",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.5",
|
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.2.
|
48
|
+
"myst-cli": "^1.2.5"
|
49
49
|
}
|
50
50
|
}
|
@@ -193279,7 +193279,7 @@ var {
|
|
193279
193279
|
} = import_index.default;
|
193280
193280
|
|
193281
193281
|
// src/version.ts
|
193282
|
-
var version = "1.2.
|
193282
|
+
var version = "1.2.5";
|
193283
193283
|
var version_default = version;
|
193284
193284
|
|
193285
193285
|
// ../myst-cli/dist/build/build.js
|
@@ -193969,6 +193969,8 @@ function validateDate(input3, opts) {
|
|
193969
193969
|
function validateObject(input3, opts) {
|
193970
193970
|
if (typeof input3 !== "object")
|
193971
193971
|
return validationError(`must be object`, opts);
|
193972
|
+
if (Array.isArray(input3))
|
193973
|
+
return validationError(`must be object, not array`, opts);
|
193972
193974
|
return input3;
|
193973
193975
|
}
|
193974
193976
|
function validateKeys(input3, keys2, opts) {
|
@@ -195374,6 +195376,9 @@ var licenses = {
|
|
195374
195376
|
name: "BSD Zero Clause License",
|
195375
195377
|
osi: true
|
195376
195378
|
},
|
195379
|
+
"3D-Slicer-1.0": {
|
195380
|
+
name: "3D Slicer License v1.0"
|
195381
|
+
},
|
195377
195382
|
AAL: {
|
195378
195383
|
name: "Attribution Assurance License",
|
195379
195384
|
osi: true
|
@@ -195446,6 +195451,9 @@ var licenses = {
|
|
195446
195451
|
Aladdin: {
|
195447
195452
|
name: "Aladdin Free Public License"
|
195448
195453
|
},
|
195454
|
+
"AMD-newlib": {
|
195455
|
+
name: "AMD newlib License"
|
195456
|
+
},
|
195449
195457
|
AMDPLPA: {
|
195450
195458
|
name: "AMD's plpa_map.c License"
|
195451
195459
|
},
|
@@ -195464,6 +195472,9 @@ var licenses = {
|
|
195464
195472
|
"ANTLR-PD-fallback": {
|
195465
195473
|
name: "ANTLR Software Rights Notice with license fallback"
|
195466
195474
|
},
|
195475
|
+
"any-OSI": {
|
195476
|
+
name: "Any OSI License"
|
195477
|
+
},
|
195467
195478
|
"Apache-1.0": {
|
195468
195479
|
name: "Apache License 1.0",
|
195469
195480
|
free: true
|
@@ -195590,6 +195601,9 @@ var licenses = {
|
|
195590
195601
|
"BSD-2-Clause-Darwin": {
|
195591
195602
|
name: "BSD 2-Clause - Ian Darwin variant"
|
195592
195603
|
},
|
195604
|
+
"BSD-2-Clause-first-lines": {
|
195605
|
+
name: "BSD 2-Clause - first lines requirement"
|
195606
|
+
},
|
195593
195607
|
"BSD-2-Clause-Patent": {
|
195594
195608
|
name: "BSD-2-Clause Plus Patent License",
|
195595
195609
|
osi: true
|
@@ -195711,6 +195725,9 @@ var licenses = {
|
|
195711
195725
|
"Caldera-no-preamble": {
|
195712
195726
|
name: "Caldera License (without preamble)"
|
195713
195727
|
},
|
195728
|
+
Catharon: {
|
195729
|
+
name: "Catharon License"
|
195730
|
+
},
|
195714
195731
|
"CATOSL-1.1": {
|
195715
195732
|
name: "Computer Associates Trusted Open Source License 1.1",
|
195716
195733
|
osi: true
|
@@ -196073,6 +196090,9 @@ var licenses = {
|
|
196073
196090
|
curl: {
|
196074
196091
|
name: "curl License"
|
196075
196092
|
},
|
196093
|
+
"cve-tou": {
|
196094
|
+
name: "Common Vulnerability Enumeration ToU License"
|
196095
|
+
},
|
196076
196096
|
"D-FSL-1.0": {
|
196077
196097
|
name: "Deutsche Freie Software Lizenz"
|
196078
196098
|
},
|
@@ -196346,6 +196366,9 @@ var licenses = {
|
|
196346
196366
|
gtkbook: {
|
196347
196367
|
name: "gtkbook License"
|
196348
196368
|
},
|
196369
|
+
Gutmann: {
|
196370
|
+
name: "Gutmann License"
|
196371
|
+
},
|
196349
196372
|
HaskellReport: {
|
196350
196373
|
name: "Haskell Language Report License"
|
196351
196374
|
},
|
@@ -196378,21 +196401,33 @@ var licenses = {
|
|
196378
196401
|
"HPND-export-US": {
|
196379
196402
|
name: "HPND with US Government export control warning"
|
196380
196403
|
},
|
196404
|
+
"HPND-export-US-acknowledgement": {
|
196405
|
+
name: "HPND with US Government export control warning and acknowledgment"
|
196406
|
+
},
|
196381
196407
|
"HPND-export-US-modify": {
|
196382
196408
|
name: "HPND with US Government export control warning and modification rqmt"
|
196383
196409
|
},
|
196410
|
+
"HPND-export2-US": {
|
196411
|
+
name: "HPND with US Government export control and 2 disclaimers"
|
196412
|
+
},
|
196384
196413
|
"HPND-Fenneberg-Livingston": {
|
196385
196414
|
name: "Historical Permission Notice and Disclaimer - Fenneberg-Livingston variant"
|
196386
196415
|
},
|
196387
196416
|
"HPND-INRIA-IMAG": {
|
196388
196417
|
name: "Historical Permission Notice and Disclaimer - INRIA-IMAG variant"
|
196389
196418
|
},
|
196419
|
+
"HPND-Intel": {
|
196420
|
+
name: "Historical Permission Notice and Disclaimer - Intel variant"
|
196421
|
+
},
|
196390
196422
|
"HPND-Kevlin-Henney": {
|
196391
196423
|
name: "Historical Permission Notice and Disclaimer - Kevlin Henney variant"
|
196392
196424
|
},
|
196393
196425
|
"HPND-Markus-Kuhn": {
|
196394
196426
|
name: "Historical Permission Notice and Disclaimer - Markus Kuhn variant"
|
196395
196427
|
},
|
196428
|
+
"HPND-merchantability-variant": {
|
196429
|
+
name: "Historical Permission Notice and Disclaimer - merchantability variant"
|
196430
|
+
},
|
196396
196431
|
"HPND-MIT-disclaimer": {
|
196397
196432
|
name: "Historical Permission Notice and Disclaimer with MIT disclaimer"
|
196398
196433
|
},
|
@@ -196411,9 +196446,15 @@ var licenses = {
|
|
196411
196446
|
"HPND-sell-variant-MIT-disclaimer": {
|
196412
196447
|
name: "HPND sell variant with MIT disclaimer"
|
196413
196448
|
},
|
196449
|
+
"HPND-sell-variant-MIT-disclaimer-rev": {
|
196450
|
+
name: "HPND sell variant with MIT disclaimer - reverse"
|
196451
|
+
},
|
196414
196452
|
"HPND-UC": {
|
196415
196453
|
name: "Historical Permission Notice and Disclaimer - University of California variant"
|
196416
196454
|
},
|
196455
|
+
"HPND-UC-export-US": {
|
196456
|
+
name: "Historical Permission Notice and Disclaimer - University of California, US export warning"
|
196457
|
+
},
|
196417
196458
|
HTMLTIDY: {
|
196418
196459
|
name: "HTML Tidy License"
|
196419
196460
|
},
|
@@ -196693,6 +196734,9 @@ var licenses = {
|
|
196693
196734
|
"MIT-Festival": {
|
196694
196735
|
name: "MIT Festival Variant"
|
196695
196736
|
},
|
196737
|
+
"MIT-Khronos-old": {
|
196738
|
+
name: "MIT Khronos - old variant"
|
196739
|
+
},
|
196696
196740
|
"MIT-Modern-Variant": {
|
196697
196741
|
name: "MIT License Modern Variant",
|
196698
196742
|
osi: true
|
@@ -196790,9 +196834,15 @@ var licenses = {
|
|
196790
196834
|
"NBPL-1.0": {
|
196791
196835
|
name: "Net Boolean Public License v1"
|
196792
196836
|
},
|
196837
|
+
"NCBI-PD": {
|
196838
|
+
name: "NCBI Public Domain Notice"
|
196839
|
+
},
|
196793
196840
|
"NCGL-UK-2.0": {
|
196794
196841
|
name: "Non-Commercial Government Licence"
|
196795
196842
|
},
|
196843
|
+
NCL: {
|
196844
|
+
name: "NCL Source Code License"
|
196845
|
+
},
|
196796
196846
|
NCSA: {
|
196797
196847
|
name: "University of Illinois/NCSA Open Source License",
|
196798
196848
|
osi: true,
|
@@ -196869,6 +196919,9 @@ var licenses = {
|
|
196869
196919
|
"O-UDA-1.0": {
|
196870
196920
|
name: "Open Use of Data Agreement v1.0"
|
196871
196921
|
},
|
196922
|
+
OAR: {
|
196923
|
+
name: "OAR License"
|
196924
|
+
},
|
196872
196925
|
"OCCT-PL": {
|
196873
196926
|
name: "Open CASCADE Technology Public License"
|
196874
196927
|
},
|
@@ -197063,6 +197116,9 @@ var licenses = {
|
|
197063
197116
|
Pixar: {
|
197064
197117
|
name: "Pixar License"
|
197065
197118
|
},
|
197119
|
+
pkgconf: {
|
197120
|
+
name: "pkgconf License"
|
197121
|
+
},
|
197066
197122
|
Plexus: {
|
197067
197123
|
name: "Plexus Classworlds License"
|
197068
197124
|
},
|
@@ -197079,6 +197135,9 @@ var licenses = {
|
|
197079
197135
|
name: "PostgreSQL License",
|
197080
197136
|
osi: true
|
197081
197137
|
},
|
197138
|
+
PPL: {
|
197139
|
+
name: "Peer Production License"
|
197140
|
+
},
|
197082
197141
|
"PSF-2.0": {
|
197083
197142
|
name: "Python Software Foundation License 2.0"
|
197084
197143
|
},
|
@@ -197260,6 +197319,9 @@ var licenses = {
|
|
197260
197319
|
"Sun-PPP": {
|
197261
197320
|
name: "Sun PPP License"
|
197262
197321
|
},
|
197322
|
+
"Sun-PPP-2000": {
|
197323
|
+
name: "Sun PPP License (2000)"
|
197324
|
+
},
|
197263
197325
|
SunPro: {
|
197264
197326
|
name: "SunPro License"
|
197265
197327
|
},
|
@@ -197287,6 +197349,9 @@ var licenses = {
|
|
197287
197349
|
"TGPPL-1.0": {
|
197288
197350
|
name: "Transitive Grace Period Public Licence 1.0"
|
197289
197351
|
},
|
197352
|
+
threeparttable: {
|
197353
|
+
name: "threeparttable License"
|
197354
|
+
},
|
197290
197355
|
TMate: {
|
197291
197356
|
name: "TMate Open Source License"
|
197292
197357
|
},
|
@@ -197436,6 +197501,9 @@ var licenses = {
|
|
197436
197501
|
XSkat: {
|
197437
197502
|
name: "XSkat License"
|
197438
197503
|
},
|
197504
|
+
xzoom: {
|
197505
|
+
name: "xzoom License"
|
197506
|
+
},
|
197439
197507
|
"YPL-1.0": {
|
197440
197508
|
name: "Yahoo! Public License v1.0"
|
197441
197509
|
},
|
@@ -198145,6 +198213,39 @@ function validateProjectAndPageSettings(value, opts) {
|
|
198145
198213
|
return output2;
|
198146
198214
|
}
|
198147
198215
|
|
198216
|
+
// ../myst-frontmatter/dist/math/validators.js
|
198217
|
+
function validateMathMacro(input3, opts) {
|
198218
|
+
if (typeof input3 === "string") {
|
198219
|
+
input3 = { macro: input3 };
|
198220
|
+
}
|
198221
|
+
const value = validateObjectKeys(input3, { required: ["macro"], optional: ["title", "description"] }, opts);
|
198222
|
+
if (!value)
|
198223
|
+
return;
|
198224
|
+
const macro2 = validateString(value.macro, incrementOptions("macro", opts));
|
198225
|
+
if (!macro2)
|
198226
|
+
return;
|
198227
|
+
const output2 = { macro: macro2 };
|
198228
|
+
if (defined(value.title)) {
|
198229
|
+
output2.title = validateString(value.title, incrementOptions("title", opts));
|
198230
|
+
}
|
198231
|
+
if (defined(value.description)) {
|
198232
|
+
output2.description = validateString(value.description, incrementOptions("description", opts));
|
198233
|
+
}
|
198234
|
+
return output2;
|
198235
|
+
}
|
198236
|
+
function validateMathMacroObject(input3, opts) {
|
198237
|
+
const value = validateObject(input3, opts);
|
198238
|
+
if (!value)
|
198239
|
+
return;
|
198240
|
+
const validMacros = Object.entries(value).map(([key2, val]) => {
|
198241
|
+
const macro2 = validateMathMacro(val, incrementOptions(key2, opts));
|
198242
|
+
if (!macro2)
|
198243
|
+
return false;
|
198244
|
+
return [key2, macro2];
|
198245
|
+
}).filter((valid2) => !!valid2);
|
198246
|
+
return Object.fromEntries(validMacros);
|
198247
|
+
}
|
198248
|
+
|
198148
198249
|
// ../myst-frontmatter/dist/project/validators.js
|
198149
198250
|
function validateProjectAndPageFrontmatterKeys(value, opts) {
|
198150
198251
|
const output2 = validateSiteFrontmatterKeys(value, opts);
|
@@ -198193,14 +198294,7 @@ function validateProjectAndPageFrontmatterKeys(value, opts) {
|
|
198193
198294
|
output2.numbering = validateNumbering(value.numbering, incrementOptions("numbering", opts));
|
198194
198295
|
}
|
198195
198296
|
if (defined(value.math)) {
|
198196
|
-
|
198197
|
-
const math7 = validateObject(value.math, mathOpts);
|
198198
|
-
if (math7) {
|
198199
|
-
const stringKeys = Object.keys(math7).filter((key2) => {
|
198200
|
-
return validateString(math7[key2], incrementOptions(key2, mathOpts));
|
198201
|
-
});
|
198202
|
-
output2.math = filterKeys(math7, stringKeys);
|
198203
|
-
}
|
198297
|
+
output2.math = validateMathMacroObject(value.math, incrementOptions("math", opts));
|
198204
198298
|
}
|
198205
198299
|
if (defined(value.abbreviations)) {
|
198206
198300
|
const abbreviationsOpts = incrementOptions("abbreviations", opts);
|
@@ -235259,7 +235353,7 @@ var TRANSFORM_NAME = "myst-transforms:math";
|
|
235259
235353
|
var replacements = {
|
235260
235354
|
"\xA0": " "
|
235261
235355
|
};
|
235262
|
-
var
|
235356
|
+
var builtInMacros = {
|
235263
235357
|
"\\mbox": "\\text{#1}"
|
235264
235358
|
// mbox is not supported in KaTeX, this is an OK fallback
|
235265
235359
|
};
|
@@ -235361,11 +235455,15 @@ function removeWarnings(result, predicate) {
|
|
235361
235455
|
function tryRender(file, node3, value, opts) {
|
235362
235456
|
const displayMode = node3.type === "math";
|
235363
235457
|
const warnings2 = [];
|
235458
|
+
let simplifiedMacros = {};
|
235459
|
+
if (opts === null || opts === void 0 ? void 0 : opts.macros) {
|
235460
|
+
simplifiedMacros = Object.fromEntries(Object.entries(opts.macros).map(([k, v]) => [k, v.macro]));
|
235461
|
+
}
|
235364
235462
|
try {
|
235365
235463
|
const html7 = katex.renderToString(value, {
|
235366
235464
|
displayMode,
|
235367
235465
|
output: (opts === null || opts === void 0 ? void 0 : opts.mathML) ? "mathml" : void 0,
|
235368
|
-
macros: { ...
|
235466
|
+
macros: { ...builtInMacros, ...simplifiedMacros },
|
235369
235467
|
strict: (f3, m2) => {
|
235370
235468
|
warnings2.push(`${f3}, ${m2}`);
|
235371
235469
|
}
|
@@ -236448,7 +236546,7 @@ function checkLinkTextTransform(mdast2, externalReferences, vfile2) {
|
|
236448
236546
|
const xrefNodes = selectAll("crossReference", mdast2);
|
236449
236547
|
linkNodes.forEach((node3) => {
|
236450
236548
|
var _a6;
|
236451
|
-
if (node3.url.startsWith("xref:") || node3.url.startsWith("myst:")) {
|
236549
|
+
if (node3.url && (node3.url.startsWith("xref:") || node3.url.startsWith("myst:"))) {
|
236452
236550
|
const key2 = node3.url.slice(5).split("/")[0].split("#")[0];
|
236453
236551
|
if (externalReferences.map((ref) => ref.key).includes(key2)) {
|
236454
236552
|
} else {
|
@@ -287481,7 +287579,7 @@ var import_node_path17 = __toESM(require("path"), 1);
|
|
287481
287579
|
var import_nbtx = __toESM(require_cjs2(), 1);
|
287482
287580
|
|
287483
287581
|
// ../myst-cli/dist/version.js
|
287484
|
-
var version2 = "1.2.
|
287582
|
+
var version2 = "1.2.5";
|
287485
287583
|
var version_default2 = version2;
|
287486
287584
|
|
287487
287585
|
// ../myst-cli/dist/utils/headers.js
|
@@ -302256,7 +302354,7 @@ function addMacrosToState(value, state) {
|
|
302256
302354
|
return;
|
302257
302355
|
Object.entries(state.options.math).forEach(([k, v]) => {
|
302258
302356
|
if (value.includes(k))
|
302259
|
-
state.data.mathPlugins[k] = v;
|
302357
|
+
state.data.mathPlugins[k] = v.macro;
|
302260
302358
|
});
|
302261
302359
|
}
|
302262
302360
|
function withRecursiveCommands(state, plugins2 = state.data.mathPlugins) {
|
@@ -302269,7 +302367,7 @@ function withRecursiveCommands(state, plugins2 = state.data.mathPlugins) {
|
|
302269
302367
|
return;
|
302270
302368
|
pluginsList.forEach(([, value]) => {
|
302271
302369
|
if (value.includes(k))
|
302272
|
-
addedPlugins[k] = v;
|
302370
|
+
addedPlugins[k] = v.macro;
|
302273
302371
|
});
|
302274
302372
|
});
|
302275
302373
|
const newPlugins = { ...addedPlugins, ...plugins2 };
|
@@ -304060,28 +304158,39 @@ function addMacrosToState2(value, state) {
|
|
304060
304158
|
return;
|
304061
304159
|
Object.entries(state.options.math).forEach(([k, v]) => {
|
304062
304160
|
const key2 = texToTypst(k);
|
304063
|
-
if (value.includes(key2))
|
304064
|
-
state.data.mathPlugins[key2] = texToTypst(v);
|
304161
|
+
if (value.includes(key2)) {
|
304162
|
+
state.data.mathPlugins[key2] = texToTypst(v.macro);
|
304163
|
+
}
|
304065
304164
|
});
|
304066
304165
|
}
|
304067
|
-
function
|
304068
|
-
|
304069
|
-
|
304070
|
-
|
304071
|
-
|
304072
|
-
|
304073
|
-
|
304074
|
-
|
304075
|
-
|
304076
|
-
|
304077
|
-
|
304078
|
-
|
304166
|
+
function findCommandInMacro(macro2, command) {
|
304167
|
+
const escapedCommand = command.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
304168
|
+
const commandRe = new RegExp(`${escapedCommand}(?![a-zA-Z])`, "g");
|
304169
|
+
return [...macro2.matchAll(commandRe)].length > 0;
|
304170
|
+
}
|
304171
|
+
function replaceCommandInMacro(macro2, command, replaceValue) {
|
304172
|
+
const escapedCommand = command.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
304173
|
+
const commandRe = new RegExp(`${escapedCommand}(?![a-zA-Z])`, "g");
|
304174
|
+
return macro2.replaceAll(commandRe, replaceValue);
|
304175
|
+
}
|
304176
|
+
function resolveRecursiveCommands(plugins2) {
|
304177
|
+
let pluginsUpdated = false;
|
304178
|
+
const newPlugins = Object.fromEntries(Object.entries(plugins2).map(([command, value]) => {
|
304179
|
+
let newMacro = value.macro;
|
304180
|
+
Object.entries(plugins2).forEach(([c, { macro: m2 }]) => {
|
304181
|
+
if (findCommandInMacro(newMacro, c)) {
|
304182
|
+
if (command === c) {
|
304183
|
+
} else {
|
304184
|
+
newMacro = replaceCommandInMacro(newMacro, c, m2);
|
304185
|
+
pluginsUpdated = true;
|
304186
|
+
}
|
304187
|
+
}
|
304079
304188
|
});
|
304080
|
-
|
304081
|
-
|
304082
|
-
if (
|
304083
|
-
return newPlugins;
|
304084
|
-
return
|
304189
|
+
return [command, { ...value, macro: newMacro }];
|
304190
|
+
}));
|
304191
|
+
if (pluginsUpdated)
|
304192
|
+
return resolveRecursiveCommands(newPlugins);
|
304193
|
+
return newPlugins;
|
304085
304194
|
}
|
304086
304195
|
var math5 = (node3, state) => {
|
304087
304196
|
const value = texToTypst(node3.value);
|
@@ -304496,7 +304605,10 @@ var TypstSerializer = class {
|
|
304496
304605
|
var _a6;
|
304497
304606
|
file.result = "";
|
304498
304607
|
this.file = file;
|
304499
|
-
|
304608
|
+
const { math: math7, ...otherOpts } = opts !== null && opts !== void 0 ? opts : {};
|
304609
|
+
this.options = { ...otherOpts };
|
304610
|
+
if (math7)
|
304611
|
+
this.options.math = resolveRecursiveCommands(math7);
|
304500
304612
|
this.data = { mathPlugins: {}, macros: /* @__PURE__ */ new Set() };
|
304501
304613
|
this.handlers = (_a6 = opts === null || opts === void 0 ? void 0 : opts.handlers) !== null && _a6 !== void 0 ? _a6 : handlers4;
|
304502
304614
|
this.footnotes = Object.fromEntries(selectAll("footnoteDefinition", tree).map((node3) => {
|
@@ -304574,7 +304686,7 @@ var plugin3 = function(opts) {
|
|
304574
304686
|
const tex = file.result.trim();
|
304575
304687
|
const result = {
|
304576
304688
|
macros: [...state.data.macros],
|
304577
|
-
commands:
|
304689
|
+
commands: state.data.mathPlugins,
|
304578
304690
|
value: tex
|
304579
304691
|
};
|
304580
304692
|
file.result = result;
|
@@ -305650,7 +305762,7 @@ async function runWordExport(session, file, exportOptions, opts) {
|
|
305650
305762
|
data.frontmatter = { ...data.frontmatter, ...exportFrontmatter };
|
305651
305763
|
const { options, doc } = mystTemplate.prepare({
|
305652
305764
|
frontmatter: data.frontmatter,
|
305653
|
-
parts:
|
305765
|
+
parts: {},
|
305654
305766
|
options: { ...data.frontmatter.options, ...exportOptions },
|
305655
305767
|
sourceFile: file
|
305656
305768
|
});
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|