myst-demo 0.9.1 → 0.9.3
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.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/package.json +6 -6
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAiBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAiBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAsN1D,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,SAAS,GACV,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,eAAe,CAAA;KAAE,KAAK,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IAC7E,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CA6PA;AAED,eAAO,MAAM,gBAAgB,EAAE,YAE9B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -77,7 +77,7 @@ function parse(text, defaultFrontmatter, options) {
|
|
|
77
77
|
const { visit } = yield import('unist-util-visit');
|
|
78
78
|
const { unified } = yield import('unified');
|
|
79
79
|
const { mystParse } = yield import('myst-parser');
|
|
80
|
-
const { mathPlugin, footnotesPlugin, keysPlugin, htmlPlugin, reconstructHtmlPlugin, basicTransformationsPlugin, enumerateTargetsPlugin, resolveReferencesPlugin, WikiTransformer, GithubTransformer, DOITransformer, RRIDTransformer, linksPlugin, ReferenceState, abbreviationPlugin, glossaryPlugin, joinGatesPlugin, } = yield import('myst-transforms');
|
|
80
|
+
const { mathPlugin, footnotesPlugin, keysPlugin, htmlPlugin, reconstructHtmlPlugin, basicTransformationsPlugin, enumerateTargetsPlugin, resolveReferencesPlugin, WikiTransformer, GithubTransformer, DOITransformer, RRIDTransformer, RORTransformer, linksPlugin, ReferenceState, abbreviationPlugin, glossaryPlugin, joinGatesPlugin, } = yield import('myst-transforms');
|
|
81
81
|
const { default: mystToTex } = yield import('myst-to-tex');
|
|
82
82
|
const { default: mystToTypst } = yield import('myst-to-typst');
|
|
83
83
|
const { default: mystToJats } = yield import('myst-to-jats').catch(() => ({ default: null }));
|
|
@@ -106,6 +106,7 @@ function parse(text, defaultFrontmatter, options) {
|
|
|
106
106
|
new GithubTransformer(),
|
|
107
107
|
new DOITransformer(),
|
|
108
108
|
new RRIDTransformer(),
|
|
109
|
+
new RORTransformer(),
|
|
109
110
|
];
|
|
110
111
|
// For the mdast that we show, duplicate, strip positions and dump to yaml
|
|
111
112
|
// Also run some of the transforms, like the links
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myst-demo",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,24 +23,24 @@
|
|
|
23
23
|
"@heroicons/react": "^2.0.18",
|
|
24
24
|
"classnames": "^2.3.2",
|
|
25
25
|
"js-yaml": "^4.1.0",
|
|
26
|
-
"myst-common": "^1.4.
|
|
27
|
-
"myst-config": "^1.4.
|
|
26
|
+
"myst-common": "^1.4.1",
|
|
27
|
+
"myst-config": "^1.4.1",
|
|
28
28
|
"myst-directives": "^1.4.2",
|
|
29
29
|
"myst-ext-card": "^1.0.6",
|
|
30
30
|
"myst-ext-exercise": "^1.0.6",
|
|
31
31
|
"myst-ext-grid": "^1.0.6",
|
|
32
32
|
"myst-ext-proof": "^1.0.9",
|
|
33
33
|
"myst-ext-tabs": "^1.0.6",
|
|
34
|
-
"myst-frontmatter": "^1.4.
|
|
34
|
+
"myst-frontmatter": "^1.4.1",
|
|
35
35
|
"myst-parser": "^1.4.2",
|
|
36
36
|
"myst-spec": "^0.0.5",
|
|
37
37
|
"myst-to-docx": "^1.0.10",
|
|
38
38
|
"myst-to-html": "^1.4.2",
|
|
39
39
|
"myst-to-jats": "^1.0.26",
|
|
40
|
-
"myst-to-react": "^0.9.
|
|
40
|
+
"myst-to-react": "^0.9.3",
|
|
41
41
|
"myst-to-tex": "^1.0.28",
|
|
42
42
|
"myst-to-typst": "^0.0.16",
|
|
43
|
-
"myst-transforms": "^1.3.
|
|
43
|
+
"myst-transforms": "^1.3.12",
|
|
44
44
|
"unified": "^10.1.2",
|
|
45
45
|
"unist-util-remove": "^4.0.0",
|
|
46
46
|
"unist-util-visit": "^4.1.2",
|