jupyterlab-github-markdown-alerts-extension 1.0.4__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.
- jupyterlab_github_markdown_alerts_extension/__init__.py +16 -0
- jupyterlab_github_markdown_alerts_extension/_version.py +4 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/install.json +5 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/package.json +202 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/schemas/jupyterlab_github_markdown_alerts_extension/package.json.orig +197 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/schemas/jupyterlab_github_markdown_alerts_extension/plugin.json +16 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/509.9ff03b11b48204057995.js +1 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/728.4c48081038fa55c9c6ed.js +1 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/remoteEntry.7987a850227479c09bb7.js +1 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/style.js +4 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/third-party-licenses.json +16 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.dist-info/METADATA +212 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.dist-info/RECORD +15 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.dist-info/WHEEL +4 -0
- jupyterlab_github_markdown_alerts_extension-1.0.4.dist-info/licenses/LICENSE +29 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
try:
|
|
2
|
+
from ._version import __version__
|
|
3
|
+
except ImportError:
|
|
4
|
+
# Fallback when using the package in dev mode without installing
|
|
5
|
+
# in editable mode with pip. It is highly recommended to install
|
|
6
|
+
# the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
|
|
7
|
+
import warnings
|
|
8
|
+
warnings.warn("Importing 'jupyterlab_github_markdown_alerts_extension' outside a proper installation.")
|
|
9
|
+
__version__ = "dev"
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _jupyter_labextension_paths():
|
|
13
|
+
return [{
|
|
14
|
+
"src": "labextension",
|
|
15
|
+
"dest": "jupyterlab_github_markdown_alerts_extension"
|
|
16
|
+
}]
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jupyterlab_github_markdown_alerts_extension",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Jupyterlab extension to render alerts tips like they are rendered in github in markdown",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"jupyter",
|
|
7
|
+
"jupyterlab",
|
|
8
|
+
"jupyterlab-extension"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension/issues"
|
|
13
|
+
},
|
|
14
|
+
"license": "BSD-3-Clause",
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "Stellars Henson",
|
|
17
|
+
"email": "konrad.jelen@gmail.com"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
|
|
21
|
+
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
|
|
22
|
+
"src/**/*.{ts,tsx}"
|
|
23
|
+
],
|
|
24
|
+
"main": "lib/index.js",
|
|
25
|
+
"types": "lib/index.d.ts",
|
|
26
|
+
"style": "style/index.css",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension.git"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "jlpm build:lib && jlpm build:labextension:dev",
|
|
33
|
+
"build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
|
|
34
|
+
"build:labextension": "jupyter labextension build .",
|
|
35
|
+
"build:labextension:dev": "jupyter labextension build --development True .",
|
|
36
|
+
"build:lib": "tsc --sourceMap",
|
|
37
|
+
"build:lib:prod": "tsc",
|
|
38
|
+
"clean": "jlpm clean:lib",
|
|
39
|
+
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
|
|
40
|
+
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
|
|
41
|
+
"clean:labextension": "rimraf jupyterlab_github_markdown_alerts_extension/labextension jupyterlab_github_markdown_alerts_extension/_version.py",
|
|
42
|
+
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
|
|
43
|
+
"eslint": "jlpm eslint:check --fix",
|
|
44
|
+
"eslint:check": "eslint . --cache --ext .ts,.tsx",
|
|
45
|
+
"install:extension": "jlpm build",
|
|
46
|
+
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
|
|
47
|
+
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
|
|
48
|
+
"prettier": "jlpm prettier:base --write --list-different",
|
|
49
|
+
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
|
|
50
|
+
"prettier:check": "jlpm prettier:base --check",
|
|
51
|
+
"stylelint": "jlpm stylelint:check --fix",
|
|
52
|
+
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
|
|
53
|
+
"test": "jest --coverage",
|
|
54
|
+
"watch": "run-p watch:src watch:labextension",
|
|
55
|
+
"watch:src": "tsc -w --sourceMap",
|
|
56
|
+
"watch:labextension": "jupyter labextension watch ."
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@jupyterlab/application": "^4.0.0",
|
|
60
|
+
"@jupyterlab/rendermime": "^4.0.0",
|
|
61
|
+
"@jupyterlab/settingregistry": "^4.0.0"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@jupyterlab/builder": "^4.0.0",
|
|
65
|
+
"@jupyterlab/testutils": "^4.0.0",
|
|
66
|
+
"@types/jest": "^29.2.0",
|
|
67
|
+
"@types/json-schema": "^7.0.11",
|
|
68
|
+
"@types/react": "^18.0.26",
|
|
69
|
+
"@types/react-addons-linked-state-mixin": "^0.14.22",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
71
|
+
"@typescript-eslint/parser": "^6.1.0",
|
|
72
|
+
"css-loader": "^6.7.1",
|
|
73
|
+
"eslint": "^8.36.0",
|
|
74
|
+
"eslint-config-prettier": "^8.8.0",
|
|
75
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
76
|
+
"jest": "^29.2.0",
|
|
77
|
+
"npm-run-all2": "^7.0.1",
|
|
78
|
+
"prettier": "^3.0.0",
|
|
79
|
+
"rimraf": "^5.0.10",
|
|
80
|
+
"source-map-loader": "^1.0.2",
|
|
81
|
+
"style-loader": "^3.3.1",
|
|
82
|
+
"stylelint": "^15.10.1",
|
|
83
|
+
"stylelint-config-recommended": "^13.0.0",
|
|
84
|
+
"stylelint-config-standard": "^34.0.0",
|
|
85
|
+
"stylelint-csstree-validator": "^3.0.0",
|
|
86
|
+
"stylelint-prettier": "^4.0.0",
|
|
87
|
+
"typescript": "~5.8.0",
|
|
88
|
+
"yjs": "^13.5.0"
|
|
89
|
+
},
|
|
90
|
+
"sideEffects": [
|
|
91
|
+
"style/*.css",
|
|
92
|
+
"style/index.js"
|
|
93
|
+
],
|
|
94
|
+
"styleModule": "style/index.js",
|
|
95
|
+
"publishConfig": {
|
|
96
|
+
"access": "public"
|
|
97
|
+
},
|
|
98
|
+
"jupyterlab": {
|
|
99
|
+
"extension": true,
|
|
100
|
+
"outputDir": "jupyterlab_github_markdown_alerts_extension/labextension",
|
|
101
|
+
"schemaDir": "schema",
|
|
102
|
+
"_build": {
|
|
103
|
+
"load": "static/remoteEntry.7987a850227479c09bb7.js",
|
|
104
|
+
"extension": "./extension",
|
|
105
|
+
"style": "./style"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"eslintIgnore": [
|
|
109
|
+
"node_modules",
|
|
110
|
+
"dist",
|
|
111
|
+
"coverage",
|
|
112
|
+
"**/*.d.ts",
|
|
113
|
+
"tests",
|
|
114
|
+
"**/__tests__",
|
|
115
|
+
"ui-tests"
|
|
116
|
+
],
|
|
117
|
+
"eslintConfig": {
|
|
118
|
+
"extends": [
|
|
119
|
+
"eslint:recommended",
|
|
120
|
+
"plugin:@typescript-eslint/eslint-recommended",
|
|
121
|
+
"plugin:@typescript-eslint/recommended",
|
|
122
|
+
"plugin:prettier/recommended"
|
|
123
|
+
],
|
|
124
|
+
"parser": "@typescript-eslint/parser",
|
|
125
|
+
"parserOptions": {
|
|
126
|
+
"project": "tsconfig.json",
|
|
127
|
+
"sourceType": "module"
|
|
128
|
+
},
|
|
129
|
+
"plugins": [
|
|
130
|
+
"@typescript-eslint"
|
|
131
|
+
],
|
|
132
|
+
"rules": {
|
|
133
|
+
"@typescript-eslint/naming-convention": [
|
|
134
|
+
"error",
|
|
135
|
+
{
|
|
136
|
+
"selector": "interface",
|
|
137
|
+
"format": [
|
|
138
|
+
"PascalCase"
|
|
139
|
+
],
|
|
140
|
+
"custom": {
|
|
141
|
+
"regex": "^I[A-Z]",
|
|
142
|
+
"match": true
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"@typescript-eslint/no-unused-vars": [
|
|
147
|
+
"warn",
|
|
148
|
+
{
|
|
149
|
+
"args": "none"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
153
|
+
"@typescript-eslint/no-namespace": "off",
|
|
154
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
155
|
+
"@typescript-eslint/quotes": [
|
|
156
|
+
"error",
|
|
157
|
+
"single",
|
|
158
|
+
{
|
|
159
|
+
"avoidEscape": true,
|
|
160
|
+
"allowTemplateLiterals": false
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"curly": [
|
|
164
|
+
"error",
|
|
165
|
+
"all"
|
|
166
|
+
],
|
|
167
|
+
"eqeqeq": "error",
|
|
168
|
+
"prefer-arrow-callback": "error"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"prettier": {
|
|
172
|
+
"singleQuote": true,
|
|
173
|
+
"trailingComma": "none",
|
|
174
|
+
"arrowParens": "avoid",
|
|
175
|
+
"endOfLine": "auto",
|
|
176
|
+
"overrides": [
|
|
177
|
+
{
|
|
178
|
+
"files": "package.json",
|
|
179
|
+
"options": {
|
|
180
|
+
"tabWidth": 4
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
"stylelint": {
|
|
186
|
+
"extends": [
|
|
187
|
+
"stylelint-config-recommended",
|
|
188
|
+
"stylelint-config-standard",
|
|
189
|
+
"stylelint-prettier/recommended"
|
|
190
|
+
],
|
|
191
|
+
"plugins": [
|
|
192
|
+
"stylelint-csstree-validator"
|
|
193
|
+
],
|
|
194
|
+
"rules": {
|
|
195
|
+
"csstree/validator": true,
|
|
196
|
+
"property-no-vendor-prefix": null,
|
|
197
|
+
"selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
|
|
198
|
+
"selector-no-vendor-prefix": null,
|
|
199
|
+
"value-no-vendor-prefix": null
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jupyterlab_github_markdown_alerts_extension",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Jupyterlab extension to render alerts tips like they are rendered in github in markdown",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"jupyter",
|
|
7
|
+
"jupyterlab",
|
|
8
|
+
"jupyterlab-extension"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension/issues"
|
|
13
|
+
},
|
|
14
|
+
"license": "BSD-3-Clause",
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "Stellars Henson",
|
|
17
|
+
"email": "konrad.jelen@gmail.com"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
|
|
21
|
+
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
|
|
22
|
+
"src/**/*.{ts,tsx}"
|
|
23
|
+
],
|
|
24
|
+
"main": "lib/index.js",
|
|
25
|
+
"types": "lib/index.d.ts",
|
|
26
|
+
"style": "style/index.css",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension.git"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "jlpm build:lib && jlpm build:labextension:dev",
|
|
33
|
+
"build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
|
|
34
|
+
"build:labextension": "jupyter labextension build .",
|
|
35
|
+
"build:labextension:dev": "jupyter labextension build --development True .",
|
|
36
|
+
"build:lib": "tsc --sourceMap",
|
|
37
|
+
"build:lib:prod": "tsc",
|
|
38
|
+
"clean": "jlpm clean:lib",
|
|
39
|
+
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
|
|
40
|
+
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
|
|
41
|
+
"clean:labextension": "rimraf jupyterlab_github_markdown_alerts_extension/labextension jupyterlab_github_markdown_alerts_extension/_version.py",
|
|
42
|
+
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
|
|
43
|
+
"eslint": "jlpm eslint:check --fix",
|
|
44
|
+
"eslint:check": "eslint . --cache --ext .ts,.tsx",
|
|
45
|
+
"install:extension": "jlpm build",
|
|
46
|
+
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
|
|
47
|
+
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
|
|
48
|
+
"prettier": "jlpm prettier:base --write --list-different",
|
|
49
|
+
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
|
|
50
|
+
"prettier:check": "jlpm prettier:base --check",
|
|
51
|
+
"stylelint": "jlpm stylelint:check --fix",
|
|
52
|
+
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
|
|
53
|
+
"test": "jest --coverage",
|
|
54
|
+
"watch": "run-p watch:src watch:labextension",
|
|
55
|
+
"watch:src": "tsc -w --sourceMap",
|
|
56
|
+
"watch:labextension": "jupyter labextension watch ."
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@jupyterlab/application": "^4.0.0",
|
|
60
|
+
"@jupyterlab/rendermime": "^4.0.0",
|
|
61
|
+
"@jupyterlab/settingregistry": "^4.0.0"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@jupyterlab/builder": "^4.0.0",
|
|
65
|
+
"@jupyterlab/testutils": "^4.0.0",
|
|
66
|
+
"@types/jest": "^29.2.0",
|
|
67
|
+
"@types/json-schema": "^7.0.11",
|
|
68
|
+
"@types/react": "^18.0.26",
|
|
69
|
+
"@types/react-addons-linked-state-mixin": "^0.14.22",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
71
|
+
"@typescript-eslint/parser": "^6.1.0",
|
|
72
|
+
"css-loader": "^6.7.1",
|
|
73
|
+
"eslint": "^8.36.0",
|
|
74
|
+
"eslint-config-prettier": "^8.8.0",
|
|
75
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
76
|
+
"jest": "^29.2.0",
|
|
77
|
+
"npm-run-all2": "^7.0.1",
|
|
78
|
+
"prettier": "^3.0.0",
|
|
79
|
+
"rimraf": "^5.0.10",
|
|
80
|
+
"source-map-loader": "^1.0.2",
|
|
81
|
+
"style-loader": "^3.3.1",
|
|
82
|
+
"stylelint": "^15.10.1",
|
|
83
|
+
"stylelint-config-recommended": "^13.0.0",
|
|
84
|
+
"stylelint-config-standard": "^34.0.0",
|
|
85
|
+
"stylelint-csstree-validator": "^3.0.0",
|
|
86
|
+
"stylelint-prettier": "^4.0.0",
|
|
87
|
+
"typescript": "~5.8.0",
|
|
88
|
+
"yjs": "^13.5.0"
|
|
89
|
+
},
|
|
90
|
+
"sideEffects": [
|
|
91
|
+
"style/*.css",
|
|
92
|
+
"style/index.js"
|
|
93
|
+
],
|
|
94
|
+
"styleModule": "style/index.js",
|
|
95
|
+
"publishConfig": {
|
|
96
|
+
"access": "public"
|
|
97
|
+
},
|
|
98
|
+
"jupyterlab": {
|
|
99
|
+
"extension": true,
|
|
100
|
+
"outputDir": "jupyterlab_github_markdown_alerts_extension/labextension",
|
|
101
|
+
"schemaDir": "schema"
|
|
102
|
+
},
|
|
103
|
+
"eslintIgnore": [
|
|
104
|
+
"node_modules",
|
|
105
|
+
"dist",
|
|
106
|
+
"coverage",
|
|
107
|
+
"**/*.d.ts",
|
|
108
|
+
"tests",
|
|
109
|
+
"**/__tests__",
|
|
110
|
+
"ui-tests"
|
|
111
|
+
],
|
|
112
|
+
"eslintConfig": {
|
|
113
|
+
"extends": [
|
|
114
|
+
"eslint:recommended",
|
|
115
|
+
"plugin:@typescript-eslint/eslint-recommended",
|
|
116
|
+
"plugin:@typescript-eslint/recommended",
|
|
117
|
+
"plugin:prettier/recommended"
|
|
118
|
+
],
|
|
119
|
+
"parser": "@typescript-eslint/parser",
|
|
120
|
+
"parserOptions": {
|
|
121
|
+
"project": "tsconfig.json",
|
|
122
|
+
"sourceType": "module"
|
|
123
|
+
},
|
|
124
|
+
"plugins": [
|
|
125
|
+
"@typescript-eslint"
|
|
126
|
+
],
|
|
127
|
+
"rules": {
|
|
128
|
+
"@typescript-eslint/naming-convention": [
|
|
129
|
+
"error",
|
|
130
|
+
{
|
|
131
|
+
"selector": "interface",
|
|
132
|
+
"format": [
|
|
133
|
+
"PascalCase"
|
|
134
|
+
],
|
|
135
|
+
"custom": {
|
|
136
|
+
"regex": "^I[A-Z]",
|
|
137
|
+
"match": true
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"@typescript-eslint/no-unused-vars": [
|
|
142
|
+
"warn",
|
|
143
|
+
{
|
|
144
|
+
"args": "none"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
148
|
+
"@typescript-eslint/no-namespace": "off",
|
|
149
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
150
|
+
"@typescript-eslint/quotes": [
|
|
151
|
+
"error",
|
|
152
|
+
"single",
|
|
153
|
+
{
|
|
154
|
+
"avoidEscape": true,
|
|
155
|
+
"allowTemplateLiterals": false
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"curly": [
|
|
159
|
+
"error",
|
|
160
|
+
"all"
|
|
161
|
+
],
|
|
162
|
+
"eqeqeq": "error",
|
|
163
|
+
"prefer-arrow-callback": "error"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"prettier": {
|
|
167
|
+
"singleQuote": true,
|
|
168
|
+
"trailingComma": "none",
|
|
169
|
+
"arrowParens": "avoid",
|
|
170
|
+
"endOfLine": "auto",
|
|
171
|
+
"overrides": [
|
|
172
|
+
{
|
|
173
|
+
"files": "package.json",
|
|
174
|
+
"options": {
|
|
175
|
+
"tabWidth": 4
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"stylelint": {
|
|
181
|
+
"extends": [
|
|
182
|
+
"stylelint-config-recommended",
|
|
183
|
+
"stylelint-config-standard",
|
|
184
|
+
"stylelint-prettier/recommended"
|
|
185
|
+
],
|
|
186
|
+
"plugins": [
|
|
187
|
+
"stylelint-csstree-validator"
|
|
188
|
+
],
|
|
189
|
+
"rules": {
|
|
190
|
+
"csstree/validator": true,
|
|
191
|
+
"property-no-vendor-prefix": null,
|
|
192
|
+
"selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
|
|
193
|
+
"selector-no-vendor-prefix": null,
|
|
194
|
+
"value-no-vendor-prefix": null
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"jupyter.lab.setting-icon": "ui-components:markdown",
|
|
3
|
+
"jupyter.lab.setting-icon-label": "GitHub Markdown Alerts",
|
|
4
|
+
"title": "GitHub Markdown Alerts",
|
|
5
|
+
"description": "Settings for GitHub-style markdown alerts rendering",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"showBackgrounds": {
|
|
9
|
+
"type": "boolean",
|
|
10
|
+
"title": "Show Alert Backgrounds",
|
|
11
|
+
"description": "Add subtle colored backgrounds to alert blocks (off by default to match GitHub exactly)",
|
|
12
|
+
"default": false
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkjupyterlab_github_markdown_alerts_extension=self.webpackChunkjupyterlab_github_markdown_alerts_extension||[]).push([[509],{509:(t,a,o)=>{o.r(a),o.d(a,{default:()=>c});var n=o(975),e=o(560);const i={NOTE:{className:"markdown-alert-note",title:"Note",iconClass:"octicon-info",iconColor:"#0969da",iconColorDark:"#2f81f7",iconPath:"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"},TIP:{className:"markdown-alert-tip",title:"Tip",iconClass:"octicon-light-bulb",iconColor:"#1a7f37",iconColorDark:"#3fb950",iconPath:"M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"},IMPORTANT:{className:"markdown-alert-important",title:"Important",iconClass:"octicon-report",iconColor:"#8250df",iconColorDark:"#a371f7",iconPath:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"},WARNING:{className:"markdown-alert-warning",title:"Warning",iconClass:"octicon-alert",iconColor:"#9a6700",iconColorDark:"#d29922",iconPath:"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"},CAUTION:{className:"markdown-alert-caution",title:"Caution",iconClass:"octicon-stop",iconColor:"#cf222e",iconColorDark:"#f85149",iconPath:"M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"}};const r={id:"jupyterlab_github_markdown_alerts_extension:plugin",description:"Jupyterlab extension to render alerts tips like they are rendered in github in markdown",autoStart:!0,requires:[n.IMarkdownParser],optional:[e.ISettingRegistry],activate:(t,a,o)=>{let n=!1;o&&o.load(r.id).then(t=>{n=t.get("showBackgrounds").composite,t.changed.connect(()=>{n=t.get("showBackgrounds").composite})}).catch(t=>{console.error("Failed to load settings for jupyterlab_github_markdown_alerts_extension",t)});const e=a.render.bind(a);a.render=async t=>{const a=function(t){const a=t.split("\n"),o=[];let n=0,e=!1;for(;n<a.length;){const t=a[n];if(t.trim().match(/^```|^~~~/)){e=!e,o.push(t),n++;continue}if(e){o.push(t),n++;continue}const i=t.match(/^>\s*\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]\s*$/);if(i){const t=i[1],e=[];for(n++;n<a.length&&a[n].startsWith(">");){const t=a[n].replace(/^>\s?/,"");t&&e.push(t),n++}if(e.length>0){const a=e.join("\n\n");o.push(`\x3c!--ALERT_START:${t}--\x3e`,a,`\x3c!--ALERT_END:${t}--\x3e`);continue}}o.push(t),n++}return o.join("\n")}(t);console.log("Processed content:",a);const o=await e(a);console.log("Rendered HTML:",o);const r=function(t,a){return t.replace(/<!--ALERT_START:(NOTE|TIP|IMPORTANT|WARNING|CAUTION)-->([\s\S]*?)<!--ALERT_END:\1-->/g,(t,o,n)=>{const e=i[o],r=(c=e.iconPath,s=e.iconClass,l=e.iconColor,h=e.iconColorDark,`<img src="data:image/svg+xml;base64,${btoa(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill="${l}" d="${c}"></path></svg>`)}" class="octicon ${s} octicon-light mr-2" width="16" height="16" aria-hidden="true" alt="" /><img src="data:image/svg+xml;base64,${btoa(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill="${h}" d="${c}"></path></svg>`)}" class="octicon ${s} octicon-dark mr-2" width="16" height="16" aria-hidden="true" alt="" />`);var c,s,l,h;const d=a?" markdown-alert-with-backgrounds":"",g=`<div class="markdown-alert ${e.className}${d}" dir="auto"><p class="markdown-alert-title" dir="auto">${r}${e.title}</p>`+n+"</div>";return console.log("Alert HTML generated:",g),g})}(o,n);return console.log("Final HTML:",r),r},console.log("JupyterLab extension jupyterlab_github_markdown_alerts_extension is activated!")}},c=r}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkjupyterlab_github_markdown_alerts_extension=self.webpackChunkjupyterlab_github_markdown_alerts_extension||[]).push([[728],{56:(n,t,r)=>{n.exports=function(n){var t=r.nc;t&&n.setAttribute("nonce",t)}},72:n=>{var t=[];function r(n){for(var r=-1,e=0;e<t.length;e++)if(t[e].identifier===n){r=e;break}return r}function e(n,e){for(var o={},l=[],i=0;i<n.length;i++){var d=n[i],c=e.base?d[0]+e.base:d[0],s=o[c]||0,m="".concat(c," ").concat(s);o[c]=s+1;var u=r(m),f={css:d[1],media:d[2],sourceMap:d[3],supports:d[4],layer:d[5]};if(-1!==u)t[u].references++,t[u].updater(f);else{var p=a(f,e);e.byIndex=i,t.splice(i,0,{identifier:m,updater:p,references:1})}l.push(m)}return l}function a(n,t){var r=t.domAPI(t);return r.update(n),function(t){if(t){if(t.css===n.css&&t.media===n.media&&t.sourceMap===n.sourceMap&&t.supports===n.supports&&t.layer===n.layer)return;r.update(n=t)}else r.remove()}}n.exports=function(n,a){var o=e(n=n||[],a=a||{});return function(n){n=n||[];for(var l=0;l<o.length;l++){var i=r(o[l]);t[i].references--}for(var d=e(n,a),c=0;c<o.length;c++){var s=r(o[c]);0===t[s].references&&(t[s].updater(),t.splice(s,1))}o=d}}},113:n=>{n.exports=function(n,t){if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},314:n=>{n.exports=function(n){var t=[];return t.toString=function(){return this.map(function(t){var r="",e=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),e&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=n(t),e&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(n,r,e,a,o){"string"==typeof n&&(n=[[null,n,void 0]]);var l={};if(e)for(var i=0;i<this.length;i++){var d=this[i][0];null!=d&&(l[d]=!0)}for(var c=0;c<n.length;c++){var s=[].concat(n[c]);e&&l[s[0]]||(void 0!==o&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=o),r&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=r):s[2]=r),a&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=a):s[4]="".concat(a)),t.push(s))}},t}},475:(n,t,r)=>{r.d(t,{A:()=>i});var e=r(601),a=r.n(e),o=r(314),l=r.n(o)()(a());l.push([n.id,"/*\n * GitHub-style markdown alerts\n * Matches GitHub's exact styling from github.com\n */\n\n.markdown-alert {\n padding: 0.5rem 1rem;\n margin-bottom: 1rem;\n color: inherit;\n border-left: 0.25em solid;\n}\n\n.markdown-alert > :first-child {\n margin-top: 0;\n}\n\n.markdown-alert > :last-child {\n margin-bottom: 0;\n}\n\n.markdown-alert .markdown-alert-title {\n display: flex;\n font-weight: 500;\n align-items: center;\n line-height: 1;\n}\n\n.octicon {\n display: inline-block;\n vertical-align: text-bottom;\n flex-shrink: 0;\n}\n\n/* Show light theme icons by default, hide dark theme icons */\n.octicon-light {\n display: inline-block;\n}\n\n.octicon-dark {\n display: none;\n}\n\n/* In dark theme, show dark icons and hide light icons */\nbody[data-jp-theme-light='false'] .octicon-light {\n display: none;\n}\n\nbody[data-jp-theme-light='false'] .octicon-dark {\n display: inline-block;\n}\n\n.mr-2 {\n margin-right: 8px;\n}\n\n/* Note - Blue */\n.markdown-alert-note {\n border-left-color: #0969da;\n}\n\n.markdown-alert-note .markdown-alert-title {\n color: #0969da;\n}\n\n/* Tip - Green */\n.markdown-alert-tip {\n border-left-color: #1a7f37;\n}\n\n.markdown-alert-tip .markdown-alert-title {\n color: #1a7f37;\n}\n\n/* Important - Purple */\n.markdown-alert-important {\n border-left-color: #8250df;\n}\n\n.markdown-alert-important .markdown-alert-title {\n color: #8250df;\n}\n\n/* Warning - Orange */\n.markdown-alert-warning {\n border-left-color: #9a6700;\n}\n\n.markdown-alert-warning .markdown-alert-title {\n color: #9a6700;\n}\n\n/* Caution - Red */\n.markdown-alert-caution {\n border-left-color: #cf222e;\n}\n\n.markdown-alert-caution .markdown-alert-title {\n color: #cf222e;\n}\n\n/* Dark theme support */\nbody[data-jp-theme-light='false'] .markdown-alert-note {\n border-left-color: #2f81f7;\n}\n\nbody[data-jp-theme-light='false'] .markdown-alert-note .markdown-alert-title {\n color: #2f81f7;\n}\n\nbody[data-jp-theme-light='false'] .markdown-alert-tip {\n border-left-color: #3fb950;\n}\n\nbody[data-jp-theme-light='false'] .markdown-alert-tip .markdown-alert-title {\n color: #3fb950;\n}\n\nbody[data-jp-theme-light='false'] .markdown-alert-important {\n border-left-color: #a371f7;\n}\n\nbody[data-jp-theme-light='false']\n .markdown-alert-important\n .markdown-alert-title {\n color: #a371f7;\n}\n\nbody[data-jp-theme-light='false'] .markdown-alert-warning {\n border-left-color: #d29922;\n}\n\nbody[data-jp-theme-light='false'] .markdown-alert-warning .markdown-alert-title {\n color: #d29922;\n}\n\nbody[data-jp-theme-light='false'] .markdown-alert-caution {\n border-left-color: #f85149;\n}\n\nbody[data-jp-theme-light='false'] .markdown-alert-caution .markdown-alert-title {\n color: #f85149;\n}\n\n/* Optional backgrounds (enabled via settings) */\n.markdown-alert-with-backgrounds.markdown-alert-note {\n background-color: rgba(9, 105, 218, 0.1);\n}\n\n.markdown-alert-with-backgrounds.markdown-alert-tip {\n background-color: rgba(26, 127, 55, 0.1);\n}\n\n.markdown-alert-with-backgrounds.markdown-alert-important {\n background-color: rgba(130, 80, 223, 0.1);\n}\n\n.markdown-alert-with-backgrounds.markdown-alert-warning {\n background-color: rgba(154, 103, 0, 0.1);\n}\n\n.markdown-alert-with-backgrounds.markdown-alert-caution {\n background-color: rgba(209, 36, 47, 0.1);\n}\n\n/* Dark theme backgrounds */\nbody[data-jp-theme-light='false']\n .markdown-alert-with-backgrounds.markdown-alert-note {\n background-color: rgba(47, 129, 247, 0.15);\n}\n\nbody[data-jp-theme-light='false']\n .markdown-alert-with-backgrounds.markdown-alert-tip {\n background-color: rgba(63, 185, 80, 0.15);\n}\n\nbody[data-jp-theme-light='false']\n .markdown-alert-with-backgrounds.markdown-alert-important {\n background-color: rgba(163, 113, 247, 0.15);\n}\n\nbody[data-jp-theme-light='false']\n .markdown-alert-with-backgrounds.markdown-alert-warning {\n background-color: rgba(210, 153, 34, 0.15);\n}\n\nbody[data-jp-theme-light='false']\n .markdown-alert-with-backgrounds.markdown-alert-caution {\n background-color: rgba(248, 81, 73, 0.15);\n}\n",""]);const i=l},540:n=>{n.exports=function(n){var t=document.createElement("style");return n.setAttributes(t,n.attributes),n.insert(t,n.options),t}},601:n=>{n.exports=function(n){return n[1]}},659:n=>{var t={};n.exports=function(n,r){var e=function(n){if(void 0===t[n]){var r=document.querySelector(n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(n){r=null}t[n]=r}return t[n]}(n);if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");e.appendChild(r)}},728:(n,t,r)=>{var e=r(72),a=r.n(e),o=r(825),l=r.n(o),i=r(659),d=r.n(i),c=r(56),s=r.n(c),m=r(540),u=r.n(m),f=r(113),p=r.n(f),h=r(475),k={};k.styleTagTransform=p(),k.setAttributes=s(),k.insert=d().bind(null,"head"),k.domAPI=l(),k.insertStyleElement=u(),a()(h.A,k),h.A&&h.A.locals&&h.A.locals},825:n=>{n.exports=function(n){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=n.insertStyleElement(n);return{update:function(r){!function(n,t,r){var e="";r.supports&&(e+="@supports (".concat(r.supports,") {")),r.media&&(e+="@media ".concat(r.media," {"));var a=void 0!==r.layer;a&&(e+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),e+=r.css,a&&(e+="}"),r.media&&(e+="}"),r.supports&&(e+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(e+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(e,n,t.options)}(t,n,r)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(t)}}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,a,i,u,l,s,d,f,p,c,h,v,b,g,m,y={976:(e,r,t)=>{var n={"./index":()=>t.e(509).then(()=>()=>t(509)),"./extension":()=>t.e(509).then(()=>()=>t(509)),"./style":()=>t.e(728).then(()=>()=>t(728))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},_={};function w(e){var r=_[e];if(void 0!==r)return r.exports;var t=_[e]={id:e,exports:{}};return y[e](t,t.exports,w),t.exports}w.m=y,w.c=_,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce((r,t)=>(w.f[t](e,r),r),[])),w.u=e=>e+"."+{509:"9ff03b11b48204057995",728:"4c48081038fa55c9c6ed"}[e]+".js?v="+{509:"9ff03b11b48204057995",728:"4c48081038fa55c9c6ed"}[e],w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="jupyterlab_github_markdown_alerts_extension:",w.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var d=l[s];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==r+o){i=d;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),u&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{w.S={};var e={},r={};w.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];w.o(w.S,t)||(w.S[t]={});var a=w.S[t],i="jupyterlab_github_markdown_alerts_extension",u=[];return"default"===t&&((e,r,t,n)=>{var o=a[e]=a[e]||{},u=o[r];(!u||!u.loaded&&(1!=!u.eager?n:i>u.from))&&(o[r]={get:()=>w.e(509).then(()=>()=>w(509)),from:i,eager:!1})})("jupyterlab_github_markdown_alerts_extension","1.0.4"),e[t]=u.length?Promise.all(u).then(()=>e[t]=1):1}}})(),(()=>{var e;w.g.importScripts&&(e=w.g.location+"");var r=w.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),w.p=e})(),t=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],u=(typeof i)[0];if(a!=u)return"o"==a&&"n"==u||"s"==u||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(u=e[a]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var i=[];for(a=1;a<e.length;a++){var u=e[a];i.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?i.pop()+" "+i.pop():o(u))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,u=1,l=!0;;u++,i++){var s,d,f=u<e.length?(typeof e[u])[0]:"";if(i>=r.length||"o"==(d=(typeof(s=r[i]))[0]))return!l||("u"==f?u>n&&!o:""==f!=o);if("u"==d){if(!l||"u"!=f)return!1}else if(l)if(f==d)if(u<=n){if(s!=e[u])return!1}else{if(o?s>e[u]:s<e[u])return!1;s!=e[u]&&(l=!1)}else if("s"!=f&&"n"!=f){if(o||u<=n)return!1;l=!1,u--}else{if(u<=n||d<f!=o)return!1;l=!1}else"s"!=f&&"n"!=f&&(l=!1,u--)}}var p=[],c=p.pop.bind(p);for(i=1;i<e.length;i++){var h=e[i];p.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>e&&w.o(e,r),u=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),s=(e,r,t)=>{var o=t?l(e[r]):e[r];return Object.keys(o).reduce((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e,0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",f=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>f("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,a){var i=w.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,w.S[r],t,!1,o,a)):e(r,w.S[r],t,n,o,a)})((e,r,t,n,o,l)=>{if(!i(r,t))return c(e,t,l);var f=s(r,t,n);return a(o,f)||p(d(r,t,f,o)),u(r[t][f])}),v={},b={560:()=>h("default","@jupyterlab/settingregistry",!1,[1,4,4,10]),975:()=>h("default","@jupyterlab/rendermime",!1,[1,4,4,10])},g={509:[560,975]},m={},w.f.consumes=(e,r)=>{w.o(g,e)&&g[e].forEach(e=>{if(w.o(v,e))return r.push(v[e]);if(!m[e]){var t=r=>{v[e]=0,w.m[e]=t=>{delete w.c[e],t.exports=r()}};m[e]=!0;var n=r=>{delete v[e],w.m[e]=t=>{throw delete w.c[e],r}};try{var o=b[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={163:0};w.f.j=(r,t)=>{var n=w.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=w.p+w.u(r),i=new Error;w.l(a,t=>{if(w.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,u]=t,l=0;if(a.some(r=>0!==e[r])){for(n in i)w.o(i,n)&&(w.m[n]=i[n]);u&&u(w)}for(r&&r(t);l<a.length;l++)o=a[l],w.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunkjupyterlab_github_markdown_alerts_extension=self.webpackChunkjupyterlab_github_markdown_alerts_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),w.nc=void 0;var S=w(976);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB).jupyterlab_github_markdown_alerts_extension=S})();
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"packages": [
|
|
3
|
+
{
|
|
4
|
+
"name": "css-loader",
|
|
5
|
+
"versionInfo": "6.11.0",
|
|
6
|
+
"licenseId": "MIT",
|
|
7
|
+
"extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "style-loader",
|
|
11
|
+
"versionInfo": "3.3.4",
|
|
12
|
+
"licenseId": "MIT",
|
|
13
|
+
"extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: jupyterlab_github_markdown_alerts_extension
|
|
3
|
+
Version: 1.0.4
|
|
4
|
+
Summary: Jupyterlab extension to render alerts tips like they are rendered in github in markdown
|
|
5
|
+
Project-URL: Homepage, https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension
|
|
6
|
+
Project-URL: Bug Tracker, https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension/issues
|
|
7
|
+
Project-URL: Repository, https://github.com/stellarshenson/jupyterlab_github_markdown_alerts_extension.git
|
|
8
|
+
Author-email: Stellars Henson <konrad.jelen@gmail.com>
|
|
9
|
+
License: BSD 3-Clause License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2025, Stellars Henson
|
|
12
|
+
All rights reserved.
|
|
13
|
+
|
|
14
|
+
Redistribution and use in source and binary forms, with or without
|
|
15
|
+
modification, are permitted provided that the following conditions are met:
|
|
16
|
+
|
|
17
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
18
|
+
list of conditions and the following disclaimer.
|
|
19
|
+
|
|
20
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
21
|
+
this list of conditions and the following disclaimer in the documentation
|
|
22
|
+
and/or other materials provided with the distribution.
|
|
23
|
+
|
|
24
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
25
|
+
contributors may be used to endorse or promote products derived from
|
|
26
|
+
this software without specific prior written permission.
|
|
27
|
+
|
|
28
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
29
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
30
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
31
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
32
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
33
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
34
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
35
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
36
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
37
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
38
|
+
License-File: LICENSE
|
|
39
|
+
Keywords: jupyter,jupyterlab,jupyterlab-extension
|
|
40
|
+
Classifier: Framework :: Jupyter
|
|
41
|
+
Classifier: Framework :: Jupyter :: JupyterLab
|
|
42
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: 4
|
|
43
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
|
|
44
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
|
|
45
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
46
|
+
Classifier: Programming Language :: Python
|
|
47
|
+
Classifier: Programming Language :: Python :: 3
|
|
48
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
49
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
50
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
51
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
52
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
53
|
+
Requires-Python: >=3.9
|
|
54
|
+
Description-Content-Type: text/markdown
|
|
55
|
+
|
|
56
|
+
# JupyterLab GitHub Markdown Alerts Extension
|
|
57
|
+
|
|
58
|
+
[](/actions/workflows/build.yml)
|
|
59
|
+
|
|
60
|
+
A JupyterLab 4 extension that renders GitHub-style alert blocks in Markdown cells, providing visual emphasis for notes, tips, warnings, and other important information.
|
|
61
|
+
|
|
62
|
+
This extension brings GitHub's alert syntax to JupyterLab, allowing you to create styled callout blocks using simple markdown notation. Alerts automatically adapt to light and dark themes, matching GitHub's visual design.
|
|
63
|
+
|
|
64
|
+
**Key Features**:
|
|
65
|
+
- Five alert types - NOTE, TIP, IMPORTANT, WARNING, CAUTION
|
|
66
|
+
- Automatic theme adaptation - colors adjust for light and dark modes
|
|
67
|
+
- GitHub-compatible syntax - works with standard GitHub markdown alert notation
|
|
68
|
+
- Icon integration - each alert type displays with its corresponding icon
|
|
69
|
+
- Zero configuration - works immediately after installation
|
|
70
|
+
|
|
71
|
+
## Requirements
|
|
72
|
+
|
|
73
|
+
- JupyterLab >= 4.0.0
|
|
74
|
+
|
|
75
|
+
## Usage
|
|
76
|
+
|
|
77
|
+
Create alert blocks in markdown cells using GitHub's alert syntax. Start with a blockquote containing the alert type, followed by content lines:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
> [!NOTE]
|
|
81
|
+
> Useful information that users should know, even when skimming content.
|
|
82
|
+
|
|
83
|
+
> [!TIP]
|
|
84
|
+
> Helpful advice for doing things better or more easily.
|
|
85
|
+
|
|
86
|
+
> [!IMPORTANT]
|
|
87
|
+
> Key information users need to know to achieve their goal.
|
|
88
|
+
|
|
89
|
+
> [!WARNING]
|
|
90
|
+
> Urgent info that needs immediate user attention to avoid problems.
|
|
91
|
+
|
|
92
|
+
> [!CAUTION]
|
|
93
|
+
> Advises about risks or negative outcomes of certain actions.
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Each alert type renders with distinct colors and icons matching GitHub's design. Multi-line content is supported by continuing the blockquote format.
|
|
97
|
+
|
|
98
|
+
**Alert Examples**:
|
|
99
|
+
|
|
100
|
+
> [!NOTE]
|
|
101
|
+
> Useful information that users should know, even when skimming content.
|
|
102
|
+
|
|
103
|
+
> [!TIP]
|
|
104
|
+
> Helpful advice for doing things better or more easily.
|
|
105
|
+
|
|
106
|
+
> [!IMPORTANT]
|
|
107
|
+
> Key information users need to know to achieve their goal.
|
|
108
|
+
|
|
109
|
+
> [!WARNING]
|
|
110
|
+
> Urgent info that needs immediate user attention to avoid problems.
|
|
111
|
+
|
|
112
|
+
> [!CAUTION]
|
|
113
|
+
> Advises about risks or negative outcomes of certain actions.
|
|
114
|
+
|
|
115
|
+
## Settings
|
|
116
|
+
|
|
117
|
+
The extension provides optional settings accessible through JupyterLab's Settings Editor:
|
|
118
|
+
|
|
119
|
+
- **Show Alert Backgrounds** - Enable subtle colored backgrounds for alerts (disabled by default to match GitHub exactly)
|
|
120
|
+
|
|
121
|
+
To access settings: Settings → Settings Editor → GitHub Markdown Alerts
|
|
122
|
+
|
|
123
|
+
## Install
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
pip install jupyterlab_github_markdown_alerts_extension
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Uninstall
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
pip uninstall jupyterlab_github_markdown_alerts_extension
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Contributing
|
|
136
|
+
|
|
137
|
+
### Development install
|
|
138
|
+
|
|
139
|
+
Note: You will need NodeJS to build the extension package.
|
|
140
|
+
|
|
141
|
+
The `jlpm` command is JupyterLab's pinned version of
|
|
142
|
+
[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
|
|
143
|
+
`yarn` or `npm` in lieu of `jlpm` below.
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
# Clone the repo to your local environment
|
|
147
|
+
# Change directory to the jupyterlab_github_markdown_alerts_extension directory
|
|
148
|
+
|
|
149
|
+
# Set up a virtual environment and install package in development mode
|
|
150
|
+
python -m venv .venv
|
|
151
|
+
source .venv/bin/activate
|
|
152
|
+
pip install --editable "."
|
|
153
|
+
|
|
154
|
+
# Link your development version of the extension with JupyterLab
|
|
155
|
+
jupyter labextension develop . --overwrite
|
|
156
|
+
|
|
157
|
+
# Rebuild extension Typescript source after making changes
|
|
158
|
+
# IMPORTANT: Unlike the steps above which are performed only once, do this step
|
|
159
|
+
# every time you make a change.
|
|
160
|
+
jlpm build
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
# Watch the source directory in one terminal, automatically rebuilding when needed
|
|
167
|
+
jlpm watch
|
|
168
|
+
# Run JupyterLab in another terminal
|
|
169
|
+
jupyter lab
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
|
|
173
|
+
|
|
174
|
+
By default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
jupyter lab build --minimize=False
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Development uninstall
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
pip uninstall jupyterlab_github_markdown_alerts_extension
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
|
|
187
|
+
command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
|
|
188
|
+
folder is located. Then you can remove the symlink named `jupyterlab_github_markdown_alerts_extension` within that folder.
|
|
189
|
+
|
|
190
|
+
### Testing the extension
|
|
191
|
+
|
|
192
|
+
#### Frontend tests
|
|
193
|
+
|
|
194
|
+
This extension is using [Jest](https://jestjs.io/) for JavaScript code testing.
|
|
195
|
+
|
|
196
|
+
To execute them, execute:
|
|
197
|
+
|
|
198
|
+
```sh
|
|
199
|
+
jlpm
|
|
200
|
+
jlpm test
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
#### Integration tests
|
|
204
|
+
|
|
205
|
+
This extension uses [Playwright](https://playwright.dev/docs/intro) for the integration tests (aka user level tests).
|
|
206
|
+
More precisely, the JupyterLab helper [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) is used to handle testing the extension in JupyterLab.
|
|
207
|
+
|
|
208
|
+
More information are provided within the [ui-tests](./ui-tests/README.md) README.
|
|
209
|
+
|
|
210
|
+
### Packaging the extension
|
|
211
|
+
|
|
212
|
+
See [RELEASE](RELEASE.md)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
jupyterlab_github_markdown_alerts_extension/__init__.py,sha256=Fxu_GfBCts6r9jSB0lKIoRPU-I21qyHXjVVNtP9o6a8,644
|
|
2
|
+
jupyterlab_github_markdown_alerts_extension/_version.py,sha256=qawcJnswOsIZF1nf1JHHIiM0w4Y3souwUaofPBBUMhA,171
|
|
3
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/package.json,sha256=XFapkqGHRxJ9yMhiN5qZKngA3MbraoT8YUI29et_L2o,6127
|
|
4
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/schemas/jupyterlab_github_markdown_alerts_extension/package.json.orig,sha256=xzjgGj0yN3PNrliKrTu4ckiCsFXBMW4Q4W83dcc3ZUE,6887
|
|
5
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/schemas/jupyterlab_github_markdown_alerts_extension/plugin.json,sha256=QrqE4A1Y7lQ5QNaj9hHjAkIBvm13Xuf01DZXvFDDvlk,538
|
|
6
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/509.9ff03b11b48204057995.js,sha256=n_A7EbSCBAV5lRkcvwTV6WQAwVJNFZH_iSFvO2G5gO4,5266
|
|
7
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/728.4c48081038fa55c9c6ed.js,sha256=TEgIEDj6VcnG7ZzS4xpZJs6K1yby2jBy9sKkyasejzk,8047
|
|
8
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/remoteEntry.7987a850227479c09bb7.js,sha256=eYeoUCJ0ecCbtzvjdalBhewXb-VBpSm44rWuqcNOoj8,6810
|
|
9
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/style.js,sha256=RMrQqf8_CwTxIij5c_vX-lmux7G0yRSQUooWAfQ_6vE,186
|
|
10
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453
|
|
11
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.data/data/share/jupyter/labextensions/jupyterlab_github_markdown_alerts_extension/install.json,sha256=IjEzY0uIBrFSktNgXXadqjUYWvWSofEPvuxV90_TNmo,247
|
|
12
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.dist-info/METADATA,sha256=bzgN6RHbjXEMHq6CbjDs-sI5hI1i4ipEr0f50RIEuZ0,8411
|
|
13
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
14
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.dist-info/licenses/LICENSE,sha256=bf9y84AhgezpOZlGOXhFa1ZdyRsZhuPV-6IajkZgcho,1523
|
|
15
|
+
jupyterlab_github_markdown_alerts_extension-1.0.4.dist-info/RECORD,,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025, Stellars Henson
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|