@quarto/jupyterlab-quarto 0.1.40 → 0.1.42
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +1 -1
- package/README.md +2 -3
- package/lib/__tests__/index.spec.d.ts +6 -0
- package/lib/__tests__/index.spec.js +61 -0
- package/lib/__tests__/index.spec.js.map +1 -0
- package/lib/__tests__/myextension.spec.d.ts +6 -0
- package/lib/__tests__/myextension.spec.js +11 -0
- package/lib/__tests__/myextension.spec.js.map +1 -0
- package/lib/ast/ast.d.ts +3 -0
- package/lib/ast/ast.js +39 -0
- package/lib/ast/ast.js.map +1 -0
- package/lib/const.js +1 -0
- package/lib/const.js.map +1 -0
- package/lib/hooks/codemirror.js +1 -0
- package/lib/hooks/codemirror.js.map +1 -0
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -0
- package/lib/manager.js +1 -0
- package/lib/manager.js.map +1 -0
- package/lib/plugins/callouts.js +7 -6
- package/lib/plugins/callouts.js.map +1 -0
- package/lib/plugins/cites.js +4 -3
- package/lib/plugins/cites.js.map +1 -0
- package/lib/plugins/decorator.js +4 -3
- package/lib/plugins/decorator.js.map +1 -0
- package/lib/plugins/divs.js +6 -5
- package/lib/plugins/divs.js.map +1 -0
- package/lib/plugins/figure-divs.js +3 -2
- package/lib/plugins/figure-divs.js.map +1 -0
- package/lib/plugins/figures.js +8 -7
- package/lib/plugins/figures.js.map +1 -0
- package/lib/plugins/gridtables/common/gridtables/GetCells.js +1 -0
- package/lib/plugins/gridtables/common/gridtables/GetCells.js.map +1 -0
- package/lib/plugins/gridtables/common/gridtables/GetColumnWidths.js +1 -0
- package/lib/plugins/gridtables/common/gridtables/GetColumnWidths.js.map +1 -0
- package/lib/plugins/gridtables/common/markdown-it/ColumnAlignments.js +1 -0
- package/lib/plugins/gridtables/common/markdown-it/ColumnAlignments.js.map +1 -0
- package/lib/plugins/gridtables/common/markdown-it/EmitTable.js +1 -0
- package/lib/plugins/gridtables/common/markdown-it/EmitTable.js.map +1 -0
- package/lib/plugins/gridtables/common/markdown-it/GetCharCodeAtStartOfLine.js +1 -0
- package/lib/plugins/gridtables/common/markdown-it/GetCharCodeAtStartOfLine.js.map +1 -0
- package/lib/plugins/gridtables/common/markdown-it/GetLine.js +1 -0
- package/lib/plugins/gridtables/common/markdown-it/GetLine.js.map +1 -0
- package/lib/plugins/gridtables/common/markdown-it/ParseTable.js +1 -0
- package/lib/plugins/gridtables/common/markdown-it/ParseTable.js.map +1 -0
- package/lib/plugins/gridtables/common/markdown-it/ParseTableResult.js +1 -0
- package/lib/plugins/gridtables/common/markdown-it/ParseTableResult.js.map +1 -0
- package/lib/plugins/gridtables/index.d.ts +1 -1
- package/lib/plugins/gridtables/index.js +4 -1
- package/lib/plugins/gridtables/index.js.map +1 -0
- package/lib/plugins/gridtables/interfaces/markdown-it/IState.js +1 -0
- package/lib/plugins/gridtables/interfaces/markdown-it/IState.js.map +1 -0
- package/lib/plugins/gridtables/interfaces/markdown-it/IToken.js +1 -0
- package/lib/plugins/gridtables/interfaces/markdown-it/IToken.js.map +1 -0
- package/lib/plugins/gridtables/interfaces/markdown-it/TRuleFunction.d.ts +1 -1
- package/lib/plugins/gridtables/interfaces/markdown-it/TRuleFunction.js +1 -0
- package/lib/plugins/gridtables/interfaces/markdown-it/TRuleFunction.js.map +1 -0
- package/lib/plugins/gridtables/rules/gridtable.js +1 -0
- package/lib/plugins/gridtables/rules/gridtable.js.map +1 -0
- package/lib/plugins/math.d.ts +1 -1
- package/lib/plugins/math.js +5 -2
- package/lib/plugins/math.js.map +1 -0
- package/lib/plugins/mermaid/index.d.ts +3 -1
- package/lib/plugins/mermaid/index.js +6 -4
- package/lib/plugins/mermaid/index.js.map +1 -0
- package/lib/plugins/shortcodes.d.ts +4 -0
- package/lib/plugins/shortcodes.js +33 -0
- package/lib/plugins/shortcodes.js.map +1 -0
- package/lib/plugins/spans.d.ts +1 -1
- package/lib/plugins/spans.js +7 -6
- package/lib/plugins/spans.js.map +1 -0
- package/lib/plugins/table-captions.js +3 -8
- package/lib/plugins/table-captions.js.map +1 -0
- package/lib/plugins/utils/html.d.ts +12 -0
- package/lib/plugins/utils/html.js +46 -0
- package/lib/plugins/utils/html.js.map +1 -0
- package/lib/plugins/utils/markdownit.d.ts +16 -0
- package/lib/plugins/utils/markdownit.js +45 -0
- package/lib/plugins/utils/markdownit.js.map +1 -0
- package/lib/plugins/utils/tok.d.ts +8 -0
- package/lib/plugins/utils/tok.js +14 -0
- package/lib/plugins/utils/tok.js.map +1 -0
- package/lib/plugins/yaml.d.ts +1 -1
- package/lib/plugins/yaml.js +6 -4
- package/lib/plugins/yaml.js.map +1 -0
- package/lib/providers/attrs.js +1 -0
- package/lib/providers/attrs.js.map +1 -0
- package/lib/providers/callouts.js +1 -0
- package/lib/providers/callouts.js.map +1 -0
- package/lib/providers/cites.js +1 -0
- package/lib/providers/cites.js.map +1 -0
- package/lib/providers/decorator.js +1 -0
- package/lib/providers/decorator.js.map +1 -0
- package/lib/providers/deflist.js +1 -0
- package/lib/providers/deflist.js.map +1 -0
- package/lib/providers/divs.js +1 -0
- package/lib/providers/divs.js.map +1 -0
- package/lib/providers/figure-divs.js +1 -0
- package/lib/providers/figure-divs.js.map +1 -0
- package/lib/providers/figures.js +1 -0
- package/lib/providers/figures.js.map +1 -0
- package/lib/providers/footnotes.js +1 -0
- package/lib/providers/footnotes.js.map +1 -0
- package/lib/providers/gridtables.js +1 -0
- package/lib/providers/gridtables.js.map +1 -0
- package/lib/providers/math.js +1 -0
- package/lib/providers/math.js.map +1 -0
- package/lib/providers/mermaid.js +4 -1
- package/lib/providers/mermaid.js.map +1 -0
- package/lib/providers/provider.js +1 -0
- package/lib/providers/provider.js.map +1 -0
- package/lib/providers/shortcodes.d.ts +2 -0
- package/lib/providers/shortcodes.js +16 -0
- package/lib/providers/shortcodes.js.map +1 -0
- package/lib/providers/spans.js +1 -0
- package/lib/providers/spans.js.map +1 -0
- package/lib/providers/sub.js +1 -0
- package/lib/providers/sub.js.map +1 -0
- package/lib/providers/sup.js +1 -0
- package/lib/providers/sup.js.map +1 -0
- package/lib/providers/table-captions.js +1 -0
- package/lib/providers/table-captions.js.map +1 -0
- package/lib/providers/tasklists.js +1 -0
- package/lib/providers/tasklists.js.map +1 -0
- package/lib/providers/yaml.js +3 -2
- package/lib/providers/yaml.js.map +1 -0
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -0
- package/lib/utils/html.d.ts +2 -2
- package/lib/utils/html.js +1 -0
- package/lib/utils/html.js.map +1 -0
- package/lib/utils/markdownit.d.ts +15 -3
- package/lib/utils/markdownit.js +1 -0
- package/lib/utils/markdownit.js.map +1 -0
- package/lib/utils/tok.js +1 -0
- package/lib/utils/tok.js.map +1 -0
- package/lib/widgets.js +1 -0
- package/lib/widgets.js.map +1 -0
- package/package.json +7 -2
- package/style/base.css +39 -104
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"figure-divs.js","sourceRoot":"","sources":["../../src/providers/figure-divs.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG,mBAAmB,CAAC;IAC5C,EAAE,EAAE,oBAAoB;IACxB,KAAK,EAAE,oBAAoB;IAC3B,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC5B,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/figures.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"figures.js","sourceRoot":"","sources":["../../src/providers/figures.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,OAAO,GAAG,mBAAmB,CAAC;IACzC,EAAE,EAAE,iBAAiB;IACrB,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,aAAa,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;CACF,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"footnotes.js","sourceRoot":"","sources":["../../src/providers/footnotes.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,mBAAmB,CAAC;IAC3C,EAAE,EAAE,mBAAmB;IACvB,KAAK,EAAE,WAAW;IAClB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,MAAM,cAAc,GAAG,MAAM,MAAM,CACjC,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;CACF,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"gridtables.js","sourceRoot":"","sources":["../../src/providers/gridtables.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG,mBAAmB,CAAC;IAC5C,EAAE,EAAE,oBAAoB;IACxB,KAAK,EAAE,aAAa;IACpB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC/B,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/math.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"math.js","sourceRoot":"","sources":["../../src/providers/math.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAA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AC;SACF;KACF;CACF,CAAC,CAAC;AAEH;;;;EAIE"}
|
package/lib/providers/mermaid.js
CHANGED
@@ -9,5 +9,8 @@ import { markdownItExtension } from './provider';
|
|
9
9
|
export const mermaid = markdownItExtension({ id: '@quarto/mermaid',
|
10
10
|
title: 'Mermaid',
|
11
11
|
plugin: async () => {
|
12
|
-
|
12
|
+
// Figure out whether this is dark mode
|
13
|
+
const isDark = document.body.getAttribute("data-jp-theme-light") === "false";
|
14
|
+
return [mermaidPlugin, { dark: isDark }];
|
13
15
|
} });
|
16
|
+
//# sourceMappingURL=mermaid.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mermaid.js","sourceRoot":"","sources":["../../src/providers/mermaid.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,OAAO,GAAG,mBAAmB,CACxC,EAAC,EAAE,EAAE,iBAAiB;IACtB,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,uCAAuC;QACvC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,qBAAqB,CAAC,KAAK,OAAO,CAAC;QAE7E,OAAO,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3C,CAAC,EAAC,CACH,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/providers/provider.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7D,MAAM,UAAU,mBAAmB,CAAC,QAAkC;IAClE,OAAO;QACH,EAAE,EAAE,GAAG,iBAAiB,IAAI,QAAQ,CAAC,EAAE,EAAE;QACzC,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,CAAC,cAAc,CAAC;QAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,OAA0B,EAAE,EAAE;YAC3C,OAAO,CAAC,GAAG,CAAC,4BAA4B,QAAQ,CAAC,EAAE,gBAAgB,CAAC,CAAC;YACrE,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QACrC,CAAC;KAC2B,CAAC;AACrC,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
* shortcodes.ts
|
3
|
+
*
|
4
|
+
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
+
*
|
6
|
+
*/
|
7
|
+
import { shortcodePlugin } from '../plugins/shortcodes';
|
8
|
+
import { markdownItExtension } from './provider';
|
9
|
+
export const shortcodes = markdownItExtension({
|
10
|
+
id: '@quarto/shortcode',
|
11
|
+
title: 'Shortcodes',
|
12
|
+
plugin: async () => {
|
13
|
+
return [shortcodePlugin];
|
14
|
+
}
|
15
|
+
});
|
16
|
+
//# sourceMappingURL=shortcodes.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"shortcodes.js","sourceRoot":"","sources":["../../src/providers/shortcodes.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG,mBAAmB,CAAC;IAC5C,EAAE,EAAE,mBAAmB;IACvB,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,eAAe,CAAC,CAAC;IAC3B,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/spans.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"spans.js","sourceRoot":"","sources":["../../src/providers/spans.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAC;IACvC,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,wBAAwB;IAC/B,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,WAAW,CAAC,CAAC;IACvB,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/sub.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sub.js","sourceRoot":"","sources":["../../src/providers/sub.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,GAAG,GAAG,mBAAmB,CAAC;IACrC,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,MAAM,MAAM,GAAG,MAAM,MAAM,CACzB,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/sup.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sup.js","sourceRoot":"","sources":["../../src/providers/sup.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,GAAG,GAAG,mBAAmB,CAAC;IACrC,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,MAAM,MAAM,GAAG,MAAM,MAAM,CACzB,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"table-captions.js","sourceRoot":"","sources":["../../src/providers/table-captions.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,EAAE,EAAE,uBAAuB;IAC3B,KAAK,EAAE,uBAAuB;IAC9B,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC9B,CAAC;CACF,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tasklists.js","sourceRoot":"","sources":["../../src/providers/tasklists.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,mBAAmB,CAAC;IAC3C,EAAE,EAAE,mBAAmB;IACvB,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,MAAM,MAAM,GAAG,MAAM,MAAM,CACzB,wBAAwB,CACzB,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/yaml.js
CHANGED
@@ -4,12 +4,13 @@
|
|
4
4
|
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
5
|
*
|
6
6
|
*/
|
7
|
-
import {
|
7
|
+
import { yamlPlugin } from "../plugins/yaml";
|
8
8
|
import { markdownItExtension } from "./provider";
|
9
9
|
export const yaml = markdownItExtension({
|
10
10
|
id: '@quarto/yaml',
|
11
11
|
title: 'Quarto Yaml',
|
12
12
|
plugin: async () => {
|
13
|
-
return [
|
13
|
+
return [yamlPlugin];
|
14
14
|
}
|
15
15
|
});
|
16
|
+
//# sourceMappingURL=yaml.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"yaml.js","sourceRoot":"","sources":["../../src/providers/yaml.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAC;IACtC,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE,aAAa;IACpB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,UAAU,CAAC,CAAC;IACtB,CAAC;CACF,CAAC,CAAC"}
|
package/lib/types.js
CHANGED
package/lib/types.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/lib/utils/html.d.ts
CHANGED
@@ -7,6 +7,6 @@ export interface DecoratorOptions {
|
|
7
7
|
attributes?: boolean;
|
8
8
|
};
|
9
9
|
}
|
10
|
-
export declare const decorator: (contents: string[], customClass?: string
|
11
|
-
export declare const attributeDecorator: (token: Token, options?: DecoratorOptions
|
10
|
+
export declare const decorator: (contents: string[], customClass?: string) => string;
|
11
|
+
export declare const attributeDecorator: (token: Token, options?: DecoratorOptions) => string;
|
12
12
|
//# sourceMappingURL=html.d.ts.map
|
package/lib/utils/html.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/utils/html.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAGF,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAW7C,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,QAAkB,EAAE,WAAoB,EAAE,EAAE;IACpE,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;QACvB,0CAA0C;QAC1C,OAAO,yCAAyC,WAAW,CAAC,C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C,CAAC;KACvB;IACD,IAAI,UAAU,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAC,UAAU,CAAA,EAAE;QACpE,MAAM,YAAY,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YAC5C,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,GAAG,CAAA;QAClC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QACb,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KAC7B;IACD,OAAO,SAAS,CAAC,QAAQ,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,CAAC,CAAC;AACnD,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,CAAC,QAAgB,EAAE,EAAE;IACzC,OAAO,oDAAoD,QAAQ,SAAS,CAAA;AAC9E,CAAC,CAAA"}
|
@@ -1,4 +1,16 @@
|
|
1
|
-
export declare const hasClass: (clz: string, attrs: null | [
|
2
|
-
|
3
|
-
|
1
|
+
export declare const hasClass: (clz: string, attrs: null | [
|
2
|
+
string,
|
3
|
+
string
|
4
|
+
][]) => boolean | undefined;
|
5
|
+
export declare const readAttrValue: (name: string, attrs: null | [
|
6
|
+
string,
|
7
|
+
string
|
8
|
+
][]) => string | undefined;
|
9
|
+
export declare const addClass: (clz: string, attrs: null | [
|
10
|
+
string,
|
11
|
+
string
|
12
|
+
][]) => [
|
13
|
+
string,
|
14
|
+
string
|
15
|
+
][];
|
4
16
|
//# sourceMappingURL=markdownit.d.ts.map
|
package/lib/utils/markdownit.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"markdownit.js","sourceRoot":"","sources":["../../src/utils/markdownit.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,MAAM,CAAC,MAAM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CAAC,CAAC;YACjC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC;YAC5D,OAAO,KAAK,CAAC;SACd;aAAM;YACL,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAA;YAC1B,OAAO,KAAK,CAAC;SACd;KACF;AACH,CAAC,CAAA"}
|
package/lib/utils/tok.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tok.js","sourceRoot":"","sources":["../../src/utils/tok.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAGF,MAAM,CAAC,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAC7C,MAAM,CAAC,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE/C,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC;AAEnC,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CAAC;AAC1C,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC;AAE5C,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE/B,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC"}
|
package/lib/widgets.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"widgets.js","sourceRoot":"","sources":["../src/widgets.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKxE,+CAA+C;AAC/C,MAAM,OAAO,gBAAiB,SAAQ,kBAAkB;IAEtD,YAAY,OAAqC,EAAE,OAA0B;QAC3E,KAAK,CAAC,OAAO,CAAC,CAAC;QA0CjB,aAAQ,GAAoB,IAAI,CAAC;QAzC/B,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;QACpC,IAAI,CAAC,iBAAiB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ACN,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@quarto/jupyterlab-quarto",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.42",
|
4
4
|
"description": "Jupyter extension to enable authoring of Quarto documents within Jupyterlab Notebooks.",
|
5
5
|
"keywords": [
|
6
6
|
"jupyter",
|
@@ -51,6 +51,7 @@
|
|
51
51
|
"prettier:check": "jlpm prettier:base --check",
|
52
52
|
"stylelint": "jlpm stylelint:check --fix",
|
53
53
|
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
|
54
|
+
"test": "jest",
|
54
55
|
"watch": "run-p watch:src watch:labextension",
|
55
56
|
"watch:src": "tsc -w",
|
56
57
|
"watch:labextension": "jupyter labextension watch ."
|
@@ -80,6 +81,7 @@
|
|
80
81
|
"devDependencies": {
|
81
82
|
"@jupyterlab/builder": "^3.1.0",
|
82
83
|
"@types/codemirror": "5.60.5",
|
84
|
+
"@types/jest": "^26.0.0",
|
83
85
|
"@types/markdown-it": "^12.2.3",
|
84
86
|
"@types/markdown-it-attrs": "^4.1.0",
|
85
87
|
"@types/mermaid": "^9.1.0",
|
@@ -89,6 +91,8 @@
|
|
89
91
|
"eslint": "^7.14.0",
|
90
92
|
"eslint-config-prettier": "^6.15.0",
|
91
93
|
"eslint-plugin-prettier": "^3.1.4",
|
94
|
+
"jest": "^26.0.0",
|
95
|
+
"jest-environment-jsdom": "^26.0.0",
|
92
96
|
"npm-run-all": "^4.1.5",
|
93
97
|
"prettier": "^2.1.1",
|
94
98
|
"rimraf": "^3.0.2",
|
@@ -97,7 +101,8 @@
|
|
97
101
|
"stylelint-config-recommended": "^6.0.0",
|
98
102
|
"stylelint-config-standard": "~24.0.0",
|
99
103
|
"stylelint-prettier": "^2.0.0",
|
100
|
-
"
|
104
|
+
"ts-jest": "^26.0.0",
|
105
|
+
"typescript": "^4.9.4"
|
101
106
|
},
|
102
107
|
"sideEffects": [
|
103
108
|
"style/*.css",
|
package/style/base.css
CHANGED
@@ -126,44 +126,34 @@
|
|
126
126
|
/* TODO: Need to automate ingesting this */
|
127
127
|
|
128
128
|
.callout {
|
129
|
-
|
130
|
-
margin-bottom:
|
129
|
+
margin-top: 1em;
|
130
|
+
margin-bottom: 1em;
|
131
|
+
border-radius: .25rem;
|
131
132
|
}
|
132
133
|
|
133
134
|
.callout-header {
|
134
135
|
display: flex;
|
135
136
|
align-content: center;
|
137
|
+
padding: 0.35em 0.75em;
|
138
|
+
opacity: 80%;
|
136
139
|
}
|
137
140
|
|
138
|
-
.callout-
|
139
|
-
|
140
|
-
|
141
|
-
.callout-important h2,
|
142
|
-
.callout-caution h2 {
|
143
|
-
font-size: 1.1em;
|
144
|
-
font-weight: 700;
|
141
|
+
.callout-title-container {
|
142
|
+
font-size: 1em;
|
143
|
+
font-weight: 600;
|
145
144
|
}
|
146
145
|
|
147
|
-
|
148
|
-
|
149
|
-
.callout {
|
150
|
-
margin-top: 1em;
|
151
|
-
margin-bottom: 1em;
|
152
|
-
border-radius: .25rem;
|
146
|
+
body[data-jp-theme-light="false"] .callout-title-container {
|
147
|
+
color: var(--jp-input-background);
|
153
148
|
}
|
154
149
|
|
155
|
-
.callout-title
|
150
|
+
.callout.callout-style-default div.callout-title {
|
151
|
+
border-bottom: none;
|
156
152
|
font-weight: 600;
|
157
|
-
opacity:
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
padding: 0em 0.5em;
|
162
|
-
border-left: solid #acacac .3rem;
|
163
|
-
border-right: solid 1px silver;
|
164
|
-
border-top: solid 1px silver;
|
165
|
-
border-bottom: solid 1px silver;
|
166
|
-
display: flex;
|
153
|
+
opacity: 85%;
|
154
|
+
font-size: 0.9rem;
|
155
|
+
padding-left: 0.5em;
|
156
|
+
padding-right: 0.5em;
|
167
157
|
}
|
168
158
|
|
169
159
|
.callout.callout-style-default {
|
@@ -174,12 +164,11 @@
|
|
174
164
|
}
|
175
165
|
|
176
166
|
.callout .callout-body-container {
|
167
|
+
padding: 0.75em;
|
177
168
|
flex-grow: 1;
|
178
169
|
}
|
179
|
-
|
180
|
-
|
181
|
-
font-size: 1rem;
|
182
|
-
font-weight: 400;
|
170
|
+
.callout .callout-body-container p:last-of-type {
|
171
|
+
margin-bottom: 0;
|
183
172
|
}
|
184
173
|
|
185
174
|
.callout.callout-style-default .callout-body {
|
@@ -187,91 +176,26 @@
|
|
187
176
|
font-weight: 400;
|
188
177
|
}
|
189
178
|
|
190
|
-
.callout.callout-titled.callout-style-simple .callout-body {
|
191
|
-
margin-top: 0.2em;
|
192
|
-
}
|
193
|
-
|
194
|
-
.callout:not(.no-icon).callout-titled.callout-style-simple .callout-content {
|
195
|
-
padding-left: 1.6em;
|
196
|
-
}
|
197
|
-
|
198
|
-
.callout.callout-titled .callout-header {
|
199
|
-
padding-top: 0.2em;
|
200
|
-
margin-bottom: -0.2em;
|
201
|
-
}
|
202
|
-
|
203
|
-
.callout.callout-titled .callout-title p {
|
204
|
-
margin-top: 0.5em;
|
205
|
-
margin-bottom: 0.5em;
|
206
|
-
}
|
207
|
-
|
208
|
-
.callout.callout-titled.callout-style-simple .callout-content p {
|
209
|
-
margin-top: 0;
|
210
|
-
}
|
211
|
-
|
212
|
-
.callout.callout-titled.callout-style-default .callout-content p {
|
213
|
-
margin-top: 0.7em;
|
214
|
-
}
|
215
|
-
|
216
|
-
.callout.callout-style-simple div.callout-title {
|
217
|
-
border-bottom: none;
|
218
|
-
font-size: .9rem;
|
219
|
-
font-weight: 600;
|
220
|
-
opacity: 75%;
|
221
|
-
}
|
222
|
-
|
223
|
-
.callout.callout-style-default div.callout-title {
|
224
|
-
border-bottom: none;
|
225
|
-
font-weight: 600;
|
226
|
-
opacity: 85%;
|
227
|
-
font-size: 0.9rem;
|
228
|
-
padding-left: 0.5em;
|
229
|
-
padding-right: 0.5em;
|
230
|
-
}
|
231
|
-
|
232
179
|
.callout.callout-style-default div.callout-content {
|
233
180
|
padding-left: 0.5em;
|
234
181
|
padding-right: 0.5em;
|
235
182
|
}
|
236
183
|
|
237
|
-
.callout.callout-style-
|
184
|
+
.callout.callout-style-default .callout-icon::before {
|
238
185
|
height: 1rem;
|
239
186
|
width: 1rem;
|
240
187
|
display: inline-block;
|
241
188
|
content: "";
|
242
189
|
background-repeat: no-repeat;
|
243
190
|
background-size: 1rem 1rem;
|
244
|
-
|
245
|
-
|
246
|
-
.callout.callout-style-default .callout-icon::before {
|
247
|
-
height: 0.9rem;
|
248
|
-
width: 0.9rem;
|
249
|
-
display: inline-block;
|
250
|
-
content: "";
|
251
|
-
background-repeat: no-repeat;
|
252
|
-
background-size: 0.9rem 0.9rem;
|
191
|
+
margin-bottom: -3px;
|
192
|
+
padding-right: .4rem;
|
253
193
|
}
|
254
194
|
|
255
195
|
.callout-title {
|
256
196
|
display: flex
|
257
197
|
}
|
258
198
|
|
259
|
-
.callout-icon::before {
|
260
|
-
padding-right: .5rem;
|
261
|
-
}
|
262
|
-
|
263
|
-
.callout.no-icon::before {
|
264
|
-
display: none !important;
|
265
|
-
}
|
266
|
-
|
267
|
-
.callout.callout-titled .callout-body > .callout-content > :last-child {
|
268
|
-
margin-bottom: 0.5rem;
|
269
|
-
}
|
270
|
-
|
271
|
-
.callout.callout-titled .callout-icon::before {
|
272
|
-
margin-top: .5rem;
|
273
|
-
padding-right: .5rem;
|
274
|
-
}
|
275
199
|
|
276
200
|
/* Callout Types */
|
277
201
|
|
@@ -283,7 +207,7 @@ div.callout-note .callout-icon::before {
|
|
283
207
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAAEU0lEQVRYCcVXTWhcVRQ+586kSUMMxkyaElstCto2SIhitS5Ek8xUKV2poatCcVHtUlFQk8mbaaziwpWgglJwVaquitBO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YcOjtWVBuM/JuYw5b6isojIkYxyYAFn5K7ZBF10fea52y8QltAg6jnMqNHFBmGkQ1j+U43HMi2xMar1Nv0zGsf1s8nUsmUtPOOrbFIR8bHFDMB5zL13Gmr/kGlCkUzedTzzmzsaJXhYawnA3UmARpiYj5ooJZiUoxFRtK3X6pgNPv+IZVPcnwbOl6f+aBaO1CNvPW9n9LmCp01nuSaTRF2YxHqZ8DYQT6WsXT+RD6eUztwYLZ8rM+rcPxamv1VQzFUkzFXvkiVrySGQgJNvXHJAxiU3/NwiC03rSf05VBaPtu/Z7/B8Yn/w7eguloAAAAAElFTkSuQmCC');
|
284
208
|
}
|
285
209
|
|
286
|
-
div.callout-note
|
210
|
+
div.callout-note .callout-header {
|
287
211
|
background-color: #dae6fb
|
288
212
|
}
|
289
213
|
|
@@ -295,7 +219,7 @@ div.callout-important .callout-icon::before {
|
|
295
219
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAAEKklEQVRYCcVXTWhcVRS+575MJym48A+hSRFr00ySRQhURRfd2HYjk2SSTokuBCkU2o0LoSKKraKIBTcuFCoidGFD08nkBzdREbpQ1EDNIv8qSGMFUboImMSZd4/f9zJv8ibJMC8xJQfO3HPPPef7zrvvvnvviIkpC9nsw0UttFunbUhpFzFtarSd6WJkStVMw5xyVqYTvkwfzuf/5FgtkVoB0729j1rjXwThS7Vio+Mo6DNnvLfahoZ+i/o32lULuJ3NNiz7q6+pyAUkJaFF6JwaM2lUJlV0MlnQn5aTRbEu0SEqHUa0A4AdiGuB1kFXRfVyg5d87+Dg4DL6m2TLAub60ilj7A1Ec4odSAc8X95sHh7+ZRPCFo6Fnp7HfU/fBng/hi10CjCnWnJjsxvDNxWw0NfV6Rv5GgP3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222
|
+
div.callout-important .callout-header {
|
299
223
|
background-color: #f7dddc
|
300
224
|
}
|
301
225
|
|
@@ -307,7 +231,7 @@ div.callout-warning .callout-icon::before {
|
|
307
231
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAAETklEQVRYCeVWW2gcVRg+58yaTUnizqbipZeX4uWhBEniBaoUX1Ioze52t7sRq6APio9V9MEaoWlVsFasRq0gltaAPuxms8lu0gcviE/FFOstVbSIxgcv6SU7EZqmdc7v9+9mJtNks51NTUH84ed889/PP+cmxP+d5FIbMJmNbpREu4WUkiTtCicKny0l1pIKmBzovF2S+hIJHX8iEu3hZJ5lNZGqyRrGSIQpq15AzF28jgpeY6yk6GVdrfFqdrD6Iw+QlB8g0YS2g7dyQmXM/IDhBhT0UCiRf59lfqmmDvzRt6kByV/m4JjtzuaujMUM2c5Z2d6JdKrRb3K2q6mA+oYVz8JnDdKPmmNthzkAk/lN63sYPgevrguc72aZX/L9C6x09GYyxBgCX4NlvyGUHOKELlm5rXeR1kchuChJt4SSwyddZRXgvwMGvYo4QSlk3/zkHD8UHxwVJA6zjZZqP8v8kK8OWLnIZtLyCAJagYC4rTGW/9Pqj92N/c+LUaAj27movwbi19tk/whRCIE7Q9vyI6yvRpftAKVTdUjOW40X3h5OXsKCdmFcx0xlLJoSuQngnrJe7Kcjm4OMq9FlC7CMmScQANuNvjfP3PjGXDBaUQmbp296S5L4DrpbrHN1T87ZVEZVCzg1FF0Ft+dKrlLukI+/c9ENo+TvlTDbYFvuKPtQ9+l052rXrgKoWkDAFnvh0wTOmYn8R5f4k/jN/fZiCM1tQx9jQQ4ANhqG4hiL0qIFTGViG9DKB7GYzgubnpofgYRwO+DFjh0Zin2m4b/97EDkXkc+f6xYAPX0KK2I/7fUQuwzuwo/L3AkcjugPNixC8cHf0FyPjWlItmLxWw4Ou9YsQCr5fijMGoD/zpdRy95HRysyXA74MWOnscpO4j2y3HAVisw85hX5+AFBRSHt4ShfLFkIMXTqyKFc46xdzQM6XbAi702a7sy04J0+feReMFKp5q9esYLCqAZYw/k14E/xcLLsFElaornTuJB0svMuJINy8xkIYuL+xPAlWRceH6+HX7THJ0djLUom46zREu7tTkxwmf/FdOZ/sh6Q8qvEAiHpm4PJ4a/doJe0gH1t+aHRgCzOvBvJedEK5OFE5jpm4AGP2a8Dxe3gGJ/pAutug9Gp6he92CsSsWBaEcxGx0FHytmIpuqGkOpldqNYQK8cSoXvd+xLxXADw0kf6UkJNFtdo5MOgaLjiQOQHcn+A6h5NuL2s0qsC2LOM75PcF3yr5STuBSAcGG+meA14K/CI21HcS4LBT6tv0QAh8Dr5l93AhZzG5ZJ4VxAqdZUEl9z7WJ4aN+svMvwHHL21UKTd1mqvChH7/Za5xzXBBKrUcB0TQ+Ulgkfbi/H/YT5EptrGzsEK7tR1B7ln9BBwckYfMiuSqklSznIuoIIOM42MQO+QnduCoFCI0bpkzjCjddHPN/F+2Yu+sd9bKNpVwHhbS3LluK/0zgfwD0xYI5dXuzlQAAAABJRU5ErkJggg==');
|
308
232
|
}
|
309
233
|
|
310
|
-
div.callout-warning
|
234
|
+
div.callout-warning .callout-header {
|
311
235
|
background-color: #fcefdc
|
312
236
|
}
|
313
237
|
|
@@ -319,7 +243,7 @@ div.callout-tip .callout-icon::before {
|
|
319
243
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAADr0lEQVRYCe1XTWgTQRj9ZjZV8a9SPIkKgj8I1bMHsUWrqYLVg4Ue6v9Bw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iEz4CANnj84cwHdFXAbAOJ4LTSAawGWFn5tDhLMYz6nWeU2wJfIhmIJBefcd/A5FWQWGgrWzyORZ3Q6HuV+Jf0Bj+BTX69fm1zWgK7By1YTXchFDORywnfQ7GpzOo6S+qECrsx2ifVQAAAABJRU5ErkJggg==');
|
320
244
|
}
|
321
245
|
|
322
|
-
div.callout-tip
|
246
|
+
div.callout-tip .callout-header {
|
323
247
|
background-color: #ccf1e3
|
324
248
|
}
|
325
249
|
|
@@ -331,6 +255,17 @@ div.callout-caution .callout-icon::before {
|
|
331
255
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAACV0lEQVRYCdVWzWoUQRCuqp2ICBLJXgITZL1EfQDBW/bkzUMUD7klD+ATSHBEfAIfQO+iXsWDxJsHL96EHAwhgzlkg8nBg25XWb0zIb0zs9muYYWkoKeru+vn664fBqElyZNuyh167NXJ8Ut8McjbmEraKHkd7uAnAFku+VWdb3reSmRV8PKSLfZ0Gjn3a6Xlcq9YGb6tADjn+lUfTXtVmaZ1KwBIvFI11rRXlWlatwIAAv2asaa9mlB9wwygiDX26qaw1yYPzFXg2N1GgG0FMF8Oj+VIx7E/03lHx8UhvYyNZLN7BwSPgekXXLribw7w5/c8EF+DBK5idvDVYtEEwMeYefjjLAdEyQ3M9nfOkgnPTEkYU+sxMq0BxNR6jExrAI31H1rzvLEfRIdgcv1XEdj6QTQAS2wtstEALLG1yEZ3QhH6oDX7ExBSFEkFINXH98NTrme5IOaaA7kIfiu2L8A3qhH9zRbukdCqdsA98TdElyeMe5BI8Rs2xHRIsoTSSVFfCFCWGPn9XHb4cdobRIWABNf0add9jakDjQJpJ1bTXOJXnnRXHRf+dNL1ZV1MBRCXhMbaHqGI1JkKIL7+i8uffuP6wVQAzO7+qVEbF6NbS0LJureYcWXUUhH66nLR5rYmva+2tjRFtojkM2aD76HEGAD3tPtKM309FJg5j/K682ywcWJ3PASCcycH/22u+Bh7Aa0ehM2Fu4z0SAE81HF9RkB21c5bEn4Dzw+/qNOyXr3DCTQDMBOdhi4nAgiFDGCinIa2owCEChUwD8qzd03PG+qdW/4fDzjUMcE1ZpIAAAAASUVORK5CYII=');
|
332
256
|
}
|
333
257
|
|
334
|
-
div.callout-caution
|
258
|
+
div.callout-caution .callout-header {
|
335
259
|
background-color: #ffe5d0
|
336
|
-
}
|
260
|
+
}
|
261
|
+
|
262
|
+
/* Shortcodes */
|
263
|
+
|
264
|
+
span.shortcode {
|
265
|
+
font-family: var(--jp-code-font-family);
|
266
|
+
line-height: var(--jp-code-line-height);
|
267
|
+
color: var(--jp-content-link-color);
|
268
|
+
background-color: var(--jp-layout-color2);
|
269
|
+
padding: 1px 1px;
|
270
|
+
white-space: pre-wrap;
|
271
|
+
}
|