@jupyterlab/mathjax-extension 4.0.0-alpha.17
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/lib/index.d.ts +14 -0
- package/lib/index.js +24 -0
- package/lib/index.js.map +1 -0
- package/package.json +52 -0
- package/style/index.css +9 -0
- package/style/index.js +9 -0
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation
|
|
3
|
+
* @module mathjax-extension
|
|
4
|
+
*/
|
|
5
|
+
import { JupyterFrontEndPlugin } from '@jupyterlab/application';
|
|
6
|
+
import { ILatexTypesetter } from '@jupyterlab/rendermime';
|
|
7
|
+
/**
|
|
8
|
+
* The MathJax latexTypesetter plugin.
|
|
9
|
+
*/
|
|
10
|
+
declare const plugin: JupyterFrontEndPlugin<ILatexTypesetter>;
|
|
11
|
+
/**
|
|
12
|
+
* Export the plugin as default.
|
|
13
|
+
*/
|
|
14
|
+
export default plugin;
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* -----------------------------------------------------------------------------
|
|
2
|
+
| Copyright (c) Jupyter Development Team.
|
|
3
|
+
| Distributed under the terms of the Modified BSD License.
|
|
4
|
+
|----------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
* @module mathjax-extension
|
|
8
|
+
*/
|
|
9
|
+
import { MathJaxTypesetter } from '@jupyterlab/mathjax';
|
|
10
|
+
import { ILatexTypesetter } from '@jupyterlab/rendermime';
|
|
11
|
+
/**
|
|
12
|
+
* The MathJax latexTypesetter plugin.
|
|
13
|
+
*/
|
|
14
|
+
const plugin = {
|
|
15
|
+
id: '@jupyterlab/mathjax-extension:plugin',
|
|
16
|
+
autoStart: true,
|
|
17
|
+
provides: ILatexTypesetter,
|
|
18
|
+
activate: () => new MathJaxTypesetter()
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Export the plugin as default.
|
|
22
|
+
*/
|
|
23
|
+
export default plugin;
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;+EAG+E;AAC/E;;;GAGG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,GAA4C;IACtD,EAAE,EAAE,sCAAsC;IAC1C,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,gBAAgB;IAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,iBAAiB,EAAE;CACxC,CAAC;AAEF;;GAEG;AACH,eAAe,MAAM,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jupyterlab/mathjax-extension",
|
|
3
|
+
"version": "4.0.0-alpha.17",
|
|
4
|
+
"description": "A JupyterLab extension providing MathJax 2 Typesetting",
|
|
5
|
+
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/jupyterlab/jupyterlab/issues"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/jupyterlab/jupyterlab.git"
|
|
12
|
+
},
|
|
13
|
+
"license": "BSD-3-Clause",
|
|
14
|
+
"author": "Project Jupyter",
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"style/**/*"
|
|
17
|
+
],
|
|
18
|
+
"main": "lib/index.js",
|
|
19
|
+
"types": "lib/index.d.ts",
|
|
20
|
+
"style": "style/index.css",
|
|
21
|
+
"directories": {
|
|
22
|
+
"lib": "lib/"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
|
|
26
|
+
"style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
|
|
27
|
+
"style/index.js"
|
|
28
|
+
],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsc -b",
|
|
31
|
+
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
|
32
|
+
"docs": "typedoc src",
|
|
33
|
+
"watch": "tsc -b --watch"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@jupyterlab/application": "^4.0.0-alpha.17",
|
|
37
|
+
"@jupyterlab/mathjax": "^4.0.0-alpha.17",
|
|
38
|
+
"@jupyterlab/rendermime": "^4.0.0-alpha.17"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"rimraf": "~3.0.0",
|
|
42
|
+
"typedoc": "~0.22.10",
|
|
43
|
+
"typescript": "~4.7.3"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"jupyterlab": {
|
|
49
|
+
"extension": true
|
|
50
|
+
},
|
|
51
|
+
"styleModule": "style/index.js"
|
|
52
|
+
}
|
package/style/index.css
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*-----------------------------------------------------------------------------
|
|
2
|
+
| Copyright (c) Jupyter Development Team.
|
|
3
|
+
| Distributed under the terms of the Modified BSD License.
|
|
4
|
+
|----------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
|
|
7
|
+
@import url('~@jupyterlab/rendermime/style/index.css');
|
|
8
|
+
@import url('~@jupyterlab/application/style/index.css');
|
|
9
|
+
@import url('~@jupyterlab/mathjax/style/index.css');
|
package/style/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*-----------------------------------------------------------------------------
|
|
2
|
+
| Copyright (c) Jupyter Development Team.
|
|
3
|
+
| Distributed under the terms of the Modified BSD License.
|
|
4
|
+
|----------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
|
|
7
|
+
import '@jupyterlab/rendermime/style/index.js';
|
|
8
|
+
import '@jupyterlab/application/style/index.js';
|
|
9
|
+
import '@jupyterlab/mathjax/style/index.js';
|