mystmd 1.3.21__py3-none-any.whl → 1.3.22__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mystmd
3
- Version: 1.3.21
3
+ Version: 1.3.22
4
4
  Summary: Command line tools for MyST Markdown
5
5
  Project-URL: Homepage, https://github.com/jupyter-book/mystmd
6
6
  Project-URL: Bug Tracker, https://github.com/jupyter-book/mystmd/issues
@@ -0,0 +1,9 @@
1
+ mystmd_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ mystmd_py/main.py,sha256=qFAnpbiqjx7jXMMmPSVUBA7SSxuRjmr6SiRDBH0rhKQ,2767
3
+ mystmd_py/myst.cjs,sha256=eeCYLVRBruaBsEwD6awaeOYBt_DojL9MfTlp0G3DMRY,13188096
4
+ mystmd_py/nodeenv.py,sha256=8KER0P-WIXM2MsRJF4vcedBKscGoc26lJKojbkDxjbg,2447
5
+ mystmd-1.3.22.dist-info/METADATA,sha256=8U3d2XbHK8wTCDT-dt8_sFBx2oe0fgUTA74HFg6xNOc,3020
6
+ mystmd-1.3.22.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
+ mystmd-1.3.22.dist-info/entry_points.txt,sha256=eC2ol2gqS2q5E-ktkMrBSvV0tckGUcNGS-c4hEQ-_V4,45
8
+ mystmd-1.3.22.dist-info/licenses/LICENSE,sha256=4BcikqvulW5nh_MxaocO-lC7ydIX23dMbcqtNTUSxr4,1082
9
+ mystmd-1.3.22.dist-info/RECORD,,
mystmd_py/myst.cjs CHANGED
@@ -193891,7 +193891,7 @@ var {
193891
193891
  } = import_index.default;
193892
193892
 
193893
193893
  // src/version.ts
193894
- var version = "1.3.21";
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.21";
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)
@@ -1,9 +0,0 @@
1
- mystmd_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- mystmd_py/main.py,sha256=qFAnpbiqjx7jXMMmPSVUBA7SSxuRjmr6SiRDBH0rhKQ,2767
3
- mystmd_py/myst.cjs,sha256=8sQey32tfoHJ9pJCoYCJuGAntjc9-HlAr_sGPkpWZq4,13187980
4
- mystmd_py/nodeenv.py,sha256=8KER0P-WIXM2MsRJF4vcedBKscGoc26lJKojbkDxjbg,2447
5
- mystmd-1.3.21.dist-info/METADATA,sha256=NbZNqmDIDfY5eugB--9kbtYWfokJg8h7GHJDugPoZcA,3020
6
- mystmd-1.3.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
- mystmd-1.3.21.dist-info/entry_points.txt,sha256=eC2ol2gqS2q5E-ktkMrBSvV0tckGUcNGS-c4hEQ-_V4,45
8
- mystmd-1.3.21.dist-info/licenses/LICENSE,sha256=4BcikqvulW5nh_MxaocO-lC7ydIX23dMbcqtNTUSxr4,1082
9
- mystmd-1.3.21.dist-info/RECORD,,