@cobapen/markdown 0.6.1 → 0.6.2

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.
@@ -54,7 +54,7 @@ import "@mathjax/src/js/input/tex/verb/VerbConfiguration.js";
54
54
  type N = LiteElement;
55
55
  type T = LiteText;
56
56
  type D = LiteDocument;
57
- declare const fontNames: readonly ["mathjax-newcm", "mathjax-stix2"];
57
+ declare const fontNames: readonly ["mathjax-newcm"];
58
58
  type FontName = typeof fontNames[number];
59
59
  interface AnyObject {
60
60
  [x: string]: any;
@@ -1,5 +1,4 @@
1
1
  import { MathJaxNewcmFont } from "@mathjax/mathjax-newcm-font/mjs/chtml.js";
2
- import { MathJaxStix2Font } from "@mathjax/mathjax-stix2-font/mjs/chtml.js";
3
2
  import { source as mjsource } from "@mathjax/src/components/mjs/source.js";
4
3
  import { LiteElement } from "@mathjax/src/js/adaptors/lite/Element.js";
5
4
  import { liteAdaptor } from "@mathjax/src/js/adaptors/liteAdaptor.js";
@@ -55,7 +54,6 @@ import "@mathjax/src/js/input/tex/upgreek/UpgreekConfiguration.js";
55
54
  import "@mathjax/src/js/input/tex/verb/VerbConfiguration.js";
56
55
  const fontNames = [
57
56
  "mathjax-newcm",
58
- "mathjax-stix2"
59
57
  ];
60
58
  const defaultFontName = fontNames[0];
61
59
  function isFontName(name) {
@@ -63,7 +61,6 @@ function isFontName(name) {
63
61
  }
64
62
  const fontDataMap = {
65
63
  "mathjax-newcm": MathJaxNewcmFont,
66
- "mathjax-stix2": MathJaxStix2Font,
67
64
  };
68
65
  const texExtensions = Object.keys(mjsource)
69
66
  .filter(name => name.substring(0, 6) === "[tex]/")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobapen/markdown",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "A markdown converter for cobapen website",
5
5
  "keywords": [
6
6
  "markdown"
@@ -35,7 +35,6 @@
35
35
  "lint:fix": "eslint src --fix"
36
36
  },
37
37
  "dependencies": {
38
- "@mathjax/mathjax-stix2-font": "^4.1.0",
39
38
  "@mathjax/src": "^4.1.0",
40
39
  "highlight.js": "^11.11.1",
41
40
  "katex": "^0.16.28",
@@ -48,7 +47,7 @@
48
47
  "meaw": "^10.0.0"
49
48
  },
50
49
  "devDependencies": {
51
- "@cobapen/eslint-config": "^0.5.0",
50
+ "@cobapen/eslint-config": "^0.5.1",
52
51
  "@types/katex": "^0.16.8",
53
52
  "@types/markdown-it": "^14.1.2",
54
53
  "@types/mustache": "^4.2.6",