@quarto/jupyterlab-quarto 0.1.42 → 0.1.44
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/lib/__tests__/index.spec.d.ts +0 -6
- package/lib/__tests__/index.spec.js +0 -61
- package/lib/__tests__/index.spec.js.map +0 -1
- package/lib/__tests__/myextension.spec.d.ts +0 -6
- package/lib/__tests__/myextension.spec.js +0 -11
- package/lib/__tests__/myextension.spec.js.map +0 -1
- package/lib/ast/ast.d.ts +0 -3
- package/lib/ast/ast.js +0 -39
- package/lib/ast/ast.js.map +0 -1
- package/lib/const.d.ts +0 -5
- package/lib/const.js +0 -12
- package/lib/const.js.map +0 -1
- package/lib/hooks/codemirror.d.ts +0 -4
- package/lib/hooks/codemirror.js +0 -52
- package/lib/hooks/codemirror.js.map +0 -1
- package/lib/index.d.ts +0 -6
- package/lib/index.js +0 -60
- package/lib/index.js.map +0 -1
- package/lib/manager.d.ts +0 -8
- package/lib/manager.js +0 -117
- package/lib/manager.js.map +0 -1
- package/lib/plugins/callouts.d.ts +0 -3
- package/lib/plugins/callouts.js +0 -209
- package/lib/plugins/callouts.js.map +0 -1
- package/lib/plugins/cites.d.ts +0 -3
- package/lib/plugins/cites.js +0 -148
- package/lib/plugins/cites.js.map +0 -1
- package/lib/plugins/decorator.d.ts +0 -3
- package/lib/plugins/decorator.js +0 -59
- package/lib/plugins/decorator.js.map +0 -1
- package/lib/plugins/divs.d.ts +0 -6
- package/lib/plugins/divs.js +0 -100
- package/lib/plugins/divs.js.map +0 -1
- package/lib/plugins/figure-divs.d.ts +0 -3
- package/lib/plugins/figure-divs.js +0 -53
- package/lib/plugins/figure-divs.js.map +0 -1
- package/lib/plugins/figures.d.ts +0 -17
- package/lib/plugins/figures.js +0 -99
- package/lib/plugins/figures.js.map +0 -1
- package/lib/plugins/gridtables/common/gridtables/GetCells.d.ts +0 -8
- package/lib/plugins/gridtables/common/gridtables/GetCells.js +0 -45
- package/lib/plugins/gridtables/common/gridtables/GetCells.js.map +0 -1
- package/lib/plugins/gridtables/common/gridtables/GetColumnWidths.d.ts +0 -8
- package/lib/plugins/gridtables/common/gridtables/GetColumnWidths.js +0 -27
- package/lib/plugins/gridtables/common/gridtables/GetColumnWidths.js.map +0 -1
- package/lib/plugins/gridtables/common/markdown-it/ColumnAlignments.d.ts +0 -8
- package/lib/plugins/gridtables/common/markdown-it/ColumnAlignments.js +0 -13
- package/lib/plugins/gridtables/common/markdown-it/ColumnAlignments.js.map +0 -1
- package/lib/plugins/gridtables/common/markdown-it/EmitTable.d.ts +0 -5
- package/lib/plugins/gridtables/common/markdown-it/EmitTable.js +0 -67
- package/lib/plugins/gridtables/common/markdown-it/EmitTable.js.map +0 -1
- package/lib/plugins/gridtables/common/markdown-it/GetCharCodeAtStartOfLine.d.ts +0 -9
- package/lib/plugins/gridtables/common/markdown-it/GetCharCodeAtStartOfLine.js +0 -19
- package/lib/plugins/gridtables/common/markdown-it/GetCharCodeAtStartOfLine.js.map +0 -1
- package/lib/plugins/gridtables/common/markdown-it/GetLine.d.ts +0 -3
- package/lib/plugins/gridtables/common/markdown-it/GetLine.js +0 -10
- package/lib/plugins/gridtables/common/markdown-it/GetLine.js.map +0 -1
- package/lib/plugins/gridtables/common/markdown-it/ParseTable.d.ts +0 -4
- package/lib/plugins/gridtables/common/markdown-it/ParseTable.js +0 -162
- package/lib/plugins/gridtables/common/markdown-it/ParseTable.js.map +0 -1
- package/lib/plugins/gridtables/common/markdown-it/ParseTableResult.d.ts +0 -13
- package/lib/plugins/gridtables/common/markdown-it/ParseTableResult.js +0 -18
- package/lib/plugins/gridtables/common/markdown-it/ParseTableResult.js.map +0 -1
- package/lib/plugins/gridtables/index.d.ts +0 -2
- package/lib/plugins/gridtables/index.js +0 -11
- package/lib/plugins/gridtables/index.js.map +0 -1
- package/lib/plugins/gridtables/interfaces/markdown-it/IState.d.ts +0 -11
- package/lib/plugins/gridtables/interfaces/markdown-it/IState.js +0 -6
- package/lib/plugins/gridtables/interfaces/markdown-it/IState.js.map +0 -1
- package/lib/plugins/gridtables/interfaces/markdown-it/IToken.d.ts +0 -7
- package/lib/plugins/gridtables/interfaces/markdown-it/IToken.js +0 -6
- package/lib/plugins/gridtables/interfaces/markdown-it/IToken.js.map +0 -1
- package/lib/plugins/gridtables/interfaces/markdown-it/TRuleFunction.d.ts +0 -4
- package/lib/plugins/gridtables/interfaces/markdown-it/TRuleFunction.js +0 -6
- package/lib/plugins/gridtables/interfaces/markdown-it/TRuleFunction.js.map +0 -1
- package/lib/plugins/gridtables/rules/gridtable.d.ts +0 -4
- package/lib/plugins/gridtables/rules/gridtable.js +0 -26
- package/lib/plugins/gridtables/rules/gridtable.js.map +0 -1
- package/lib/plugins/math.d.ts +0 -5
- package/lib/plugins/math.js +0 -177
- package/lib/plugins/math.js.map +0 -1
- package/lib/plugins/mermaid/index.d.ts +0 -5
- package/lib/plugins/mermaid/index.js +0 -55
- package/lib/plugins/mermaid/index.js.map +0 -1
- package/lib/plugins/shortcodes.d.ts +0 -4
- package/lib/plugins/shortcodes.js +0 -33
- package/lib/plugins/shortcodes.js.map +0 -1
- package/lib/plugins/spans.d.ts +0 -3
- package/lib/plugins/spans.js +0 -39
- package/lib/plugins/spans.js.map +0 -1
- package/lib/plugins/table-captions.d.ts +0 -3
- package/lib/plugins/table-captions.js +0 -69
- package/lib/plugins/table-captions.js.map +0 -1
- package/lib/plugins/utils/html.d.ts +0 -12
- package/lib/plugins/utils/html.js +0 -46
- package/lib/plugins/utils/html.js.map +0 -1
- package/lib/plugins/utils/markdownit.d.ts +0 -16
- package/lib/plugins/utils/markdownit.js +0 -45
- package/lib/plugins/utils/markdownit.js.map +0 -1
- package/lib/plugins/utils/tok.d.ts +0 -8
- package/lib/plugins/utils/tok.js +0 -14
- package/lib/plugins/utils/tok.js.map +0 -1
- package/lib/plugins/yaml.d.ts +0 -3
- package/lib/plugins/yaml.js +0 -311
- package/lib/plugins/yaml.js.map +0 -1
- package/lib/providers/attrs.d.ts +0 -2
- package/lib/providers/attrs.js +0 -16
- package/lib/providers/attrs.js.map +0 -1
- package/lib/providers/callouts.d.ts +0 -2
- package/lib/providers/callouts.js +0 -16
- package/lib/providers/callouts.js.map +0 -1
- package/lib/providers/cites.d.ts +0 -2
- package/lib/providers/cites.js +0 -16
- package/lib/providers/cites.js.map +0 -1
- package/lib/providers/decorator.d.ts +0 -2
- package/lib/providers/decorator.js +0 -16
- package/lib/providers/decorator.js.map +0 -1
- package/lib/providers/deflist.d.ts +0 -2
- package/lib/providers/deflist.js +0 -16
- package/lib/providers/deflist.js.map +0 -1
- package/lib/providers/divs.d.ts +0 -2
- package/lib/providers/divs.js +0 -28
- package/lib/providers/divs.js.map +0 -1
- package/lib/providers/figure-divs.d.ts +0 -2
- package/lib/providers/figure-divs.js +0 -16
- package/lib/providers/figure-divs.js.map +0 -1
- package/lib/providers/figures.d.ts +0 -2
- package/lib/providers/figures.js +0 -16
- package/lib/providers/figures.js.map +0 -1
- package/lib/providers/footnotes.d.ts +0 -2
- package/lib/providers/footnotes.js +0 -16
- package/lib/providers/footnotes.js.map +0 -1
- package/lib/providers/gridtables.d.ts +0 -2
- package/lib/providers/gridtables.js +0 -16
- package/lib/providers/gridtables.js.map +0 -1
- package/lib/providers/math.d.ts +0 -2
- package/lib/providers/math.js +0 -105
- package/lib/providers/math.js.map +0 -1
- package/lib/providers/mermaid.d.ts +0 -2
- package/lib/providers/mermaid.js +0 -16
- package/lib/providers/mermaid.js.map +0 -1
- package/lib/providers/provider.d.ts +0 -4
- package/lib/providers/provider.js +0 -13
- package/lib/providers/provider.js.map +0 -1
- package/lib/providers/shortcodes.d.ts +0 -2
- package/lib/providers/shortcodes.js +0 -16
- package/lib/providers/shortcodes.js.map +0 -1
- package/lib/providers/spans.d.ts +0 -2
- package/lib/providers/spans.js +0 -16
- package/lib/providers/spans.js.map +0 -1
- package/lib/providers/sub.d.ts +0 -2
- package/lib/providers/sub.js +0 -16
- package/lib/providers/sub.js.map +0 -1
- package/lib/providers/sup.d.ts +0 -2
- package/lib/providers/sup.js +0 -16
- package/lib/providers/sup.js.map +0 -1
- package/lib/providers/table-captions.d.ts +0 -2
- package/lib/providers/table-captions.js +0 -16
- package/lib/providers/table-captions.js.map +0 -1
- package/lib/providers/tasklists.d.ts +0 -2
- package/lib/providers/tasklists.js +0 -16
- package/lib/providers/tasklists.js.map +0 -1
- package/lib/providers/yaml.d.ts +0 -2
- package/lib/providers/yaml.js +0 -16
- package/lib/providers/yaml.js.map +0 -1
- package/lib/types.d.ts +0 -44
- package/lib/types.js +0 -2
- package/lib/types.js.map +0 -1
- package/lib/utils/html.d.ts +0 -12
- package/lib/utils/html.js +0 -46
- package/lib/utils/html.js.map +0 -1
- package/lib/utils/markdownit.d.ts +0 -16
- package/lib/utils/markdownit.js +0 -45
- package/lib/utils/markdownit.js.map +0 -1
- package/lib/utils/tok.d.ts +0 -8
- package/lib/utils/tok.js +0 -14
- package/lib/utils/tok.js.map +0 -1
- package/lib/widgets.d.ts +0 -15
- package/lib/widgets.js +0 -58
- package/lib/widgets.js.map +0 -1
@@ -1,45 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* markdownit.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
export const hasClass = (clz, attrs) => {
|
8
|
-
if (attrs === null) {
|
9
|
-
return false;
|
10
|
-
}
|
11
|
-
const classes = readAttrValue("class", attrs);
|
12
|
-
if (classes === null) {
|
13
|
-
return false;
|
14
|
-
}
|
15
|
-
else {
|
16
|
-
return classes === null || classes === void 0 ? void 0 : classes.split(" ").includes(clz);
|
17
|
-
}
|
18
|
-
};
|
19
|
-
export const readAttrValue = (name, attrs) => {
|
20
|
-
if (attrs === null) {
|
21
|
-
return undefined;
|
22
|
-
}
|
23
|
-
const attr = attrs.find((attr) => { return attr[0] === name; });
|
24
|
-
return attr ? attr[1] : undefined;
|
25
|
-
};
|
26
|
-
export const addClass = (clz, attrs) => {
|
27
|
-
if (attrs === null) {
|
28
|
-
attrs = [];
|
29
|
-
attrs.push(["class", clz]);
|
30
|
-
return attrs;
|
31
|
-
}
|
32
|
-
else {
|
33
|
-
const clzIdx = attrs.findIndex((attr) => attr[0] === "class");
|
34
|
-
if (clzIdx >= 0) {
|
35
|
-
const currentClz = attrs[clzIdx];
|
36
|
-
attrs[clzIdx] = ["class", `${currentClz[1]} ${clz}`.trim()];
|
37
|
-
return attrs;
|
38
|
-
}
|
39
|
-
else {
|
40
|
-
attrs.push(["class", clz]);
|
41
|
-
return attrs;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
};
|
45
|
-
//# sourceMappingURL=markdownit.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"markdownit.js","sourceRoot":"","sources":["../../../src/plugins/utils/markdownit.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAW,EAAE,KAAgC,EAAE,EAAE;IACxE,IAAI,KAAK,KAAK,IAAI,EAAE;QAClB,OAAO,KAAK,CAAA;KACb;IAED,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9C,IAAI,OAAO,KAAK,IAAI,EAAE;QACpB,OAAO,KAAK,CAAC;KACd;SAAM;QACL,OAAO,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;KAC1C;AAGH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAY,EAAE,KAAgC,EAAE,EAAE;IAC9E,IAAI,KAAK,KAAK,IAAI,EAAE;QAClB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAChE,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACpC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAW,EAAE,KAAgC,EAAsB,EAAE;IAC5F,IAAI,KAAK,KAAK,IAAI,EAAE;QAClB,KAAK,GAAG,EAAE,CAAA;QACV,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAA;QAC1B,OAAO,KAAK,CAAC;KACd;SAAM;QACL,MAAM,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC;QAC9D,IAAI,MAAM,IAAI,CAAC,EAAE;YACf,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,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"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare const kTokParaOpen = "paragraph_open";
|
2
|
-
export declare const kTokParaClose = "paragraph_close";
|
3
|
-
export declare const kTokInline = "inline";
|
4
|
-
export declare const kTokTableOpen = "table_open";
|
5
|
-
export declare const kTokTableClose = "table_close";
|
6
|
-
export declare const kTokText = "text";
|
7
|
-
export declare const kTokHeadingOpen = "heading_open";
|
8
|
-
//# sourceMappingURL=tok.d.ts.map
|
package/lib/plugins/utils/tok.js
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* tok.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
export const kTokParaOpen = "paragraph_open";
|
8
|
-
export const kTokParaClose = "paragraph_close";
|
9
|
-
export const kTokInline = "inline";
|
10
|
-
export const kTokTableOpen = "table_open";
|
11
|
-
export const kTokTableClose = "table_close";
|
12
|
-
export const kTokText = "text";
|
13
|
-
export const kTokHeadingOpen = "heading_open";
|
14
|
-
//# sourceMappingURL=tok.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tok.js","sourceRoot":"","sources":["../../../src/plugins/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/plugins/yaml.d.ts
DELETED
package/lib/plugins/yaml.js
DELETED
@@ -1,311 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* markdownit-yaml.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2022 by Posit Software, PBC
|
5
|
-
* Copyright (c) 2016-2020 ParkSB.
|
6
|
-
*
|
7
|
-
* Unless you have received this program directly from Posit Software pursuant
|
8
|
-
* to the terms of a commercial license agreement with Posit Software, then
|
9
|
-
* this program is licensed to you under the terms of version 3 of the
|
10
|
-
* GNU Affero General Public License. This program is distributed WITHOUT
|
11
|
-
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
|
12
|
-
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
|
13
|
-
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
|
14
|
-
*
|
15
|
-
*/
|
16
|
-
import * as yaml from "js-yaml";
|
17
|
-
import { decorator } from "./utils/html";
|
18
|
-
// Typescript version of https://github.com/parksb/markdown-it-front-matter
|
19
|
-
// TODO: Rationalize this with quarto-core/src/markdownit-yaml.ts
|
20
|
-
// This is a copy with rendering added - the core tokenizing function is identical (or should be)
|
21
|
-
const kTokFrontMatter = 'front_matter';
|
22
|
-
export function yamlPlugin(md, cb) {
|
23
|
-
const min_markers = 3, marker_str = "-", marker_char = marker_str.charCodeAt(0), marker_len = marker_str.length;
|
24
|
-
function frontMatter(state, startLine, endLine, silent) {
|
25
|
-
let pos, nextLine, start_content, auto_closed = false, start = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
|
26
|
-
// Check out the first character of the first line quickly,
|
27
|
-
// this should filter out non-front matter
|
28
|
-
if (startLine !== 0 || marker_char !== state.src.charCodeAt(0)) {
|
29
|
-
return false;
|
30
|
-
}
|
31
|
-
// Check out the rest of the marker string
|
32
|
-
// while pos <= 3
|
33
|
-
for (pos = start + 1; pos <= max; pos++) {
|
34
|
-
if (marker_str[(pos - start) % marker_len] !== state.src[pos]) {
|
35
|
-
start_content = pos + 1;
|
36
|
-
break;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
const marker_count = Math.floor((pos - start) / marker_len);
|
40
|
-
if (marker_count < min_markers) {
|
41
|
-
return false;
|
42
|
-
}
|
43
|
-
pos -= (pos - start) % marker_len;
|
44
|
-
// Since start is found, we can report success here in validation mode
|
45
|
-
if (silent) {
|
46
|
-
return true;
|
47
|
-
}
|
48
|
-
// Search for the end of the block
|
49
|
-
nextLine = startLine;
|
50
|
-
for (;;) {
|
51
|
-
nextLine++;
|
52
|
-
if (nextLine >= endLine) {
|
53
|
-
// unclosed block should be autoclosed by end of document.
|
54
|
-
// also block seems to be autoclosed by end of parent
|
55
|
-
break;
|
56
|
-
}
|
57
|
-
if (state.src.slice(start, max) === "...") {
|
58
|
-
break;
|
59
|
-
}
|
60
|
-
start = state.bMarks[nextLine] + state.tShift[nextLine];
|
61
|
-
max = state.eMarks[nextLine];
|
62
|
-
if (start < max && state.sCount[nextLine] < state.blkIndent) {
|
63
|
-
// non-empty line with negative indent should stop the list:
|
64
|
-
// - ```
|
65
|
-
// test
|
66
|
-
break;
|
67
|
-
}
|
68
|
-
if (marker_char !== state.src.charCodeAt(start)) {
|
69
|
-
continue;
|
70
|
-
}
|
71
|
-
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
72
|
-
// closing fence should be indented less than 4 spaces
|
73
|
-
continue;
|
74
|
-
}
|
75
|
-
for (pos = start + 1; pos <= max; pos++) {
|
76
|
-
if (marker_str[(pos - start) % marker_len] !== state.src[pos]) {
|
77
|
-
break;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
// closing code fence must be at least as long as the opening one
|
81
|
-
if (Math.floor((pos - start) / marker_len) < marker_count) {
|
82
|
-
continue;
|
83
|
-
}
|
84
|
-
// make sure tail has spaces only
|
85
|
-
pos -= (pos - start) % marker_len;
|
86
|
-
pos = state.skipSpaces(pos);
|
87
|
-
if (pos < max) {
|
88
|
-
continue;
|
89
|
-
}
|
90
|
-
// found!
|
91
|
-
auto_closed = true;
|
92
|
-
break;
|
93
|
-
}
|
94
|
-
const old_parent = state.parentType;
|
95
|
-
const old_line_max = state.lineMax;
|
96
|
-
state.parentType = "root";
|
97
|
-
// this will prevent lazy continuations from ever going past our end marker
|
98
|
-
state.lineMax = nextLine;
|
99
|
-
const token = state.push("front_matter", "", 0);
|
100
|
-
token.hidden = true;
|
101
|
-
token.markup = state.src.slice(startLine, pos);
|
102
|
-
token.block = true;
|
103
|
-
token.map = [startLine, pos];
|
104
|
-
token.meta = state.src.slice(start_content, start - 1);
|
105
|
-
state.parentType = old_parent;
|
106
|
-
state.lineMax = old_line_max;
|
107
|
-
state.line = nextLine + (auto_closed ? 1 : 0);
|
108
|
-
if (cb) {
|
109
|
-
cb(token.meta);
|
110
|
-
}
|
111
|
-
return true;
|
112
|
-
}
|
113
|
-
md.block.ruler.before("table", kTokFrontMatter, frontMatter, {
|
114
|
-
alt: ["paragraph", "reference", "blockquote", "list"],
|
115
|
-
});
|
116
|
-
// Add rendering
|
117
|
-
md.renderer.rules[kTokFrontMatter] = renderFrontMatter;
|
118
|
-
}
|
119
|
-
function renderFrontMatter(tokens, idx) {
|
120
|
-
const token = tokens[idx];
|
121
|
-
// Parse the markup
|
122
|
-
const frontUnknown = parseFrontMatterStr(token.markup);
|
123
|
-
// Extract important content
|
124
|
-
if (typeof (frontUnknown) === "object") {
|
125
|
-
const titleBlock = {};
|
126
|
-
const frontMatter = frontUnknown;
|
127
|
-
const readStr = (key) => {
|
128
|
-
if (frontMatter[key] === undefined) {
|
129
|
-
return undefined;
|
130
|
-
}
|
131
|
-
else if (typeof (frontMatter[key]) === "string") {
|
132
|
-
const val = frontMatter[key];
|
133
|
-
delete frontMatter[key];
|
134
|
-
return val;
|
135
|
-
}
|
136
|
-
else {
|
137
|
-
return undefined;
|
138
|
-
}
|
139
|
-
};
|
140
|
-
// Read simple values
|
141
|
-
titleBlock.title = readStr("title");
|
142
|
-
titleBlock.subtitle = readStr("subtitle");
|
143
|
-
titleBlock.abstract = readStr("abstract");
|
144
|
-
titleBlock.date = readStr("date");
|
145
|
-
titleBlock.modified = readStr("date-modified");
|
146
|
-
titleBlock.doi = readStr("doi");
|
147
|
-
// Read Authors
|
148
|
-
titleBlock.authors = parseAuthor(frontMatter.author || frontMatter.authors);
|
149
|
-
delete frontMatter.author;
|
150
|
-
delete frontMatter.authors;
|
151
|
-
// The final rendered HTML output
|
152
|
-
const titleLines = [];
|
153
|
-
// Render the title block and other yaml options
|
154
|
-
const titleRendered = renderTitle(titleBlock);
|
155
|
-
titleLines.push(titleRendered);
|
156
|
-
if (Object.keys(frontMatter).length > 0) {
|
157
|
-
// decorator
|
158
|
-
const decor = decorator(["Options"]);
|
159
|
-
titleLines.push(decor);
|
160
|
-
// yaml
|
161
|
-
const yamlDump = yaml.dump(frontMatter);
|
162
|
-
const otherYamlRendered = `<pre class="quarto-frontmatter-container"><code class="cm-s-jupyter language-yaml quarto-frontmatter">${yamlDump}</code></pre>`;
|
163
|
-
titleLines.push(otherYamlRendered);
|
164
|
-
}
|
165
|
-
return titleLines.join("\n");
|
166
|
-
}
|
167
|
-
else {
|
168
|
-
return "";
|
169
|
-
}
|
170
|
-
}
|
171
|
-
// TODO: Use core function instead
|
172
|
-
function parseFrontMatterStr(str) {
|
173
|
-
str = str.replace(/---\s*$/, "");
|
174
|
-
try {
|
175
|
-
return yaml.load(str, { schema: yaml.FAILSAFE_SCHEMA });
|
176
|
-
}
|
177
|
-
catch (error) {
|
178
|
-
return undefined;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
function renderTitle(titleBlock) {
|
182
|
-
var _a;
|
183
|
-
const rendered = [];
|
184
|
-
if (titleBlock.title) {
|
185
|
-
rendered.push(`<h1>${titleBlock.title}</h1>`);
|
186
|
-
}
|
187
|
-
if (titleBlock.subtitle) {
|
188
|
-
rendered.push(`<p class="quarto-subtitle">${titleBlock.subtitle}</p>`);
|
189
|
-
}
|
190
|
-
const metadataBlocks = [];
|
191
|
-
if (titleBlock.authors && ((_a = titleBlock.authors) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
192
|
-
const names = [];
|
193
|
-
const affils = [];
|
194
|
-
for (let i = 0; i < titleBlock.authors.length; i++) {
|
195
|
-
const author = titleBlock.authors[i];
|
196
|
-
if (author.orcid) {
|
197
|
-
names.push({
|
198
|
-
value: `${author.name}<a href="https://orcid.org/${author.orcid}" class="quarto-orcid"><i></i></a>`,
|
199
|
-
padded: i > 0
|
200
|
-
});
|
201
|
-
}
|
202
|
-
else {
|
203
|
-
names.push({ value: author.name, padded: i > 0 });
|
204
|
-
}
|
205
|
-
// Place empty rows to allow affiliations to line up
|
206
|
-
const emptyCount = author.affil ? Math.max(author.affil.length - 1, 0) : 0;
|
207
|
-
for (let j = 0; j < emptyCount; j++) {
|
208
|
-
names.push({ value: " " });
|
209
|
-
}
|
210
|
-
// Collect affilations
|
211
|
-
if (author.affil) {
|
212
|
-
for (let k = 0; k < author.affil.length; k++) {
|
213
|
-
const affil = author.affil[k];
|
214
|
-
affils.push({
|
215
|
-
value: affil,
|
216
|
-
padded: i > 0 && k == 0
|
217
|
-
});
|
218
|
-
}
|
219
|
-
}
|
220
|
-
}
|
221
|
-
const authLabel = names.length === 1 ? "Author" : "Authors";
|
222
|
-
metadataBlocks.push(renderDocMeta(authLabel, names));
|
223
|
-
if (affils.length > 0) {
|
224
|
-
const affilLabel = affils.length === 1 ? "Affiliation" : "Affiliations";
|
225
|
-
metadataBlocks.push(renderDocMeta(affilLabel, affils));
|
226
|
-
}
|
227
|
-
}
|
228
|
-
if (titleBlock.date) {
|
229
|
-
metadataBlocks.push(renderDocMeta("Date", [{ value: titleBlock.date }]));
|
230
|
-
}
|
231
|
-
if (titleBlock.modified) {
|
232
|
-
metadataBlocks.push(renderDocMeta("Modified", [{ value: titleBlock.modified }]));
|
233
|
-
}
|
234
|
-
if (titleBlock.doi) {
|
235
|
-
metadataBlocks.push(renderDocMeta("DOI", [{ value: `<a href="https://doi.org/${titleBlock.doi}">${titleBlock.doi}</a>` }]));
|
236
|
-
}
|
237
|
-
if (metadataBlocks.length > 0) {
|
238
|
-
rendered.push(renderDocMetas(metadataBlocks));
|
239
|
-
}
|
240
|
-
if (titleBlock.abstract) {
|
241
|
-
rendered.push(`<p class="quarto-abstract">${titleBlock.abstract}</p>`);
|
242
|
-
}
|
243
|
-
return rendered.join("\n");
|
244
|
-
}
|
245
|
-
function renderDocMetas(docMetas) {
|
246
|
-
const rendered = [];
|
247
|
-
rendered.push(`<div class="quarto-meta-block">`);
|
248
|
-
docMetas.forEach((docMeta) => { rendered.push(docMeta); });
|
249
|
-
rendered.push(`</div>`);
|
250
|
-
return rendered.join("\n");
|
251
|
-
}
|
252
|
-
function renderDocMeta(label, vals) {
|
253
|
-
const rendered = [];
|
254
|
-
rendered.push(`<div class="quarto-meta">`);
|
255
|
-
rendered.push(`<p class="quarto-meta-title">${label}</p>`);
|
256
|
-
vals.forEach((val) => {
|
257
|
-
const clz = val.padded ? ` class="quarto-meta-padded"` : "";
|
258
|
-
rendered.push(`<p${clz}>${val.value}</p>`);
|
259
|
-
});
|
260
|
-
rendered.push(`</div>`);
|
261
|
-
return rendered.join("\n");
|
262
|
-
}
|
263
|
-
function parseAuthor(author) {
|
264
|
-
const authorsRaw = Array.isArray(author) ? author : [author];
|
265
|
-
const authors = [];
|
266
|
-
for (const authorRaw of authorsRaw) {
|
267
|
-
if (typeof (authorRaw) === "string") {
|
268
|
-
authors.push({
|
269
|
-
name: authorRaw
|
270
|
-
});
|
271
|
-
}
|
272
|
-
else if (typeof (authorRaw) === "object") {
|
273
|
-
const str = (key, defaultValue) => {
|
274
|
-
if (typeof (authorRaw[key]) === "string") {
|
275
|
-
return authorRaw[key];
|
276
|
-
}
|
277
|
-
else {
|
278
|
-
return defaultValue;
|
279
|
-
}
|
280
|
-
};
|
281
|
-
const affiliations = [];
|
282
|
-
const affiliationSimple = str("affiliation");
|
283
|
-
if (affiliationSimple) {
|
284
|
-
affiliations.push(affiliationSimple);
|
285
|
-
}
|
286
|
-
else if (authorRaw.affiliations) {
|
287
|
-
const affils = Array.isArray(authorRaw.affiliations) ? authorRaw.affiliations : [authorRaw.affiliations];
|
288
|
-
affils.forEach((affilRaw) => {
|
289
|
-
if (typeof (affilRaw) === "string") {
|
290
|
-
affiliations.push(affilRaw);
|
291
|
-
// eslint-disable-next-line no-constant-condition
|
292
|
-
}
|
293
|
-
else if (typeof (affilRaw === "object")) {
|
294
|
-
const affilRecord = affilRaw;
|
295
|
-
const name = affilRecord.name;
|
296
|
-
if (typeof (name) === "string") {
|
297
|
-
affiliations.push(name);
|
298
|
-
}
|
299
|
-
}
|
300
|
-
});
|
301
|
-
}
|
302
|
-
authors.push({
|
303
|
-
name: str("name", ""),
|
304
|
-
orcid: str("orcid"),
|
305
|
-
affil: affiliations
|
306
|
-
});
|
307
|
-
}
|
308
|
-
}
|
309
|
-
return authors;
|
310
|
-
}
|
311
|
-
//# sourceMappingURL=yaml.js.map
|
package/lib/plugins/yaml.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"yaml.js","sourceRoot":"","sources":["../../src/plugins/yaml.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,2EAA2E;AAC3E,iEAAiE;AACjE,uGAAuG;AACvG,MAAM,eAAe,GAAG,cAAc,CAAC;AAEvC,MAAM,UAAU,UAAU,CAAC,EAAc,EAAE,EAA4B;IACrE,MAAM,WAAW,GAAG,CAAC,EACnB,UAAU,GAAG,GAAG,EAChB,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,EACtC,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC;IAEjC,SAAS,WAAW,CAClB,KAAiB,EACjB,SAAiB,EACjB,OAAe,EACf,MAAe;QAEf,IAAI,GAAG,EACL,QAAQ,EACR,aAAa,EACb,WAAW,GAAG,KAAK,EACnB,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EACzD,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAIhC,2DAA2D;QAC3D,0CAA0C;QAC1C,IAAI,SAAS,KAAK,CAAC,IAAI,WAAW,KAAK,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE;YAC9D,OAAO,KAAK,CAAC;SACd;QAED,0CAA0C;QAC1C,iBAAiB;QACjB,KAAK,GAAG,GAAG,KAAK,GAAG,CAAC,EAAE,GA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E,CAAE;gBACtB,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC;gBACnB,KAAK,EAAE,YAAY;aACpB,CAAC,CAAA;SACH;KACF;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/lib/providers/attrs.d.ts
DELETED
package/lib/providers/attrs.js
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* attrs.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
import { markdownItExtension } from './provider';
|
8
|
-
export const attrs = markdownItExtension({
|
9
|
-
id: '@quarto/attributes',
|
10
|
-
title: 'Markdown Attributes',
|
11
|
-
plugin: async () => {
|
12
|
-
const plugin = await import('markdown-it-attrs');
|
13
|
-
return [plugin.default];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=attrs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"attrs.js","sourceRoot":"","sources":["../../src/providers/attrs.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAC;IACvC,EAAE,EAAE,oBAAoB;IACxB,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,MAAM,MAAM,GAAG,MAAM,MAAM,CACzB,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF,CAAC,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* callouts.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
import { calloutPlugin } from "../plugins/callouts";
|
8
|
-
import { markdownItExtension } from "./provider";
|
9
|
-
export const callouts = markdownItExtension({
|
10
|
-
id: '@quarto/callouts',
|
11
|
-
title: 'Quarto callouts',
|
12
|
-
plugin: async () => {
|
13
|
-
return [calloutPlugin];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=callouts.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"callouts.js","sourceRoot":"","sources":["../../src/providers/callouts.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,QAAQ,GAAG,mBAAmB,CAAC;IAC1C,EAAE,EAAE,kBAAkB;IACtB,KAAK,EAAE,iBAAiB;IACxB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,aAAa,CAAC,CAAC;IACzB,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/cites.d.ts
DELETED
package/lib/providers/cites.js
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* cites.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
import { citationPlugin } from "../plugins/cites";
|
8
|
-
import { markdownItExtension } from "./provider";
|
9
|
-
export const cites = markdownItExtension({
|
10
|
-
id: '@quarto/cites',
|
11
|
-
title: 'Citations',
|
12
|
-
plugin: async () => {
|
13
|
-
return [citationPlugin];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=cites.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cites.js","sourceRoot":"","sources":["../../src/providers/cites.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAC;IACvC,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,WAAW;IAClB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,cAAc,CAAC,CAAC;IAC1B,CAAC;CACF,CAAC,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* code.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
import { decoratorPlugin } from "../plugins/decorator";
|
8
|
-
import { markdownItExtension } from "./provider";
|
9
|
-
export const decorator = markdownItExtension({
|
10
|
-
id: '@quarto/fence',
|
11
|
-
title: 'Fenced Code Blocks',
|
12
|
-
plugin: async () => {
|
13
|
-
return [decoratorPlugin];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=decorator.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"decorator.js","sourceRoot":"","sources":["../../src/providers/decorator.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,mBAAmB,CAAC;IAC3C,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,oBAAoB;IAC3B,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,eAAe,CAAC,CAAC;IAC3B,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/deflist.js
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* deflist.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
import { markdownItExtension } from './provider';
|
8
|
-
export const deflist = markdownItExtension({
|
9
|
-
id: '@quarto/deflist',
|
10
|
-
title: 'Definition Lists',
|
11
|
-
plugin: async () => {
|
12
|
-
const plugin = await import('markdown-it-deflist');
|
13
|
-
return [plugin.default];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=deflist.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deflist.js","sourceRoot":"","sources":["../../src/providers/deflist.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,OAAO,GAAG,mBAAmB,CAAC;IACzC,EAAE,EAAE,iBAAiB;IACrB,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,MAAM,MAAM,GAAG,MAAM,MAAM,CACzB,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF,CAAC,CAAC"}
|
package/lib/providers/divs.d.ts
DELETED
package/lib/providers/divs.js
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* callouts.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
import { divPlugin } from "../plugins/divs";
|
8
|
-
import { markdownItExtension } from "./provider";
|
9
|
-
export const divs = markdownItExtension({
|
10
|
-
id: '@quarto/divs',
|
11
|
-
title: 'Pandoc fenced divs',
|
12
|
-
plugin: async () => {
|
13
|
-
return [divPlugin];
|
14
|
-
},
|
15
|
-
hooks: {
|
16
|
-
preParse: {
|
17
|
-
run: (content) => {
|
18
|
-
// Detect close divs that are directly after text (e.g. not back to back whitespace)
|
19
|
-
// and add a whitespace. This will cause the close div to become a 'block'
|
20
|
-
// rather than appearing as the end of the paragraph block
|
21
|
-
const blockedDivs = content.replace(kCloseDivNoBlock, `$1\n\n$2`);
|
22
|
-
return Promise.resolve(blockedDivs);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
});
|
27
|
-
const kCloseDivNoBlock = /([^\s])\n(:::+(?:\{.*\})?)/gm;
|
28
|
-
//# sourceMappingURL=divs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"divs.js","sourceRoot":"","sources":["../../src/providers/divs.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAC;IACtC,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE,oBAAoB;IAC3B,MAAM,EAAE,KAAK,IAAI,EAAE;QACjB,OAAO,CAAC,SAAS,CAAC,CAAC;IACrB,CAAC;IACD,KAAK,EAAE;QACL,QAAQ,EAAE;YACR,GAAG,EAAE,CAAC,OAAe,EAAE,EAAE;gBACvB,oFAAoF;gBACpF,2EAA2E;gBAC3E,0DAA0D;gBAC1D,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;gBAClE,OAAO,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;YACrC,CAAC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,gBAAgB,GAAG,8BAA8B,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* figure-divs.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
import { figureDivsPlugin } from '../plugins/figure-divs';
|
8
|
-
import { markdownItExtension } from './provider';
|
9
|
-
export const figureDivs = markdownItExtension({
|
10
|
-
id: '@quarto/figureDivs',
|
11
|
-
title: 'Quarto Figure Divs',
|
12
|
-
plugin: async () => {
|
13
|
-
return [figureDivsPlugin];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=figure-divs.js.map
|
@@ -1 +0,0 @@
|
|
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
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* figures.ts
|
3
|
-
*
|
4
|
-
* Copyright (C) 2020-2023 Posit Software, PBC
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
import { figuresPlugin } from '../plugins/figures';
|
8
|
-
import { markdownItExtension } from './provider';
|
9
|
-
export const figures = markdownItExtension({
|
10
|
-
id: '@quarto/figures',
|
11
|
-
title: 'Quarto figures',
|
12
|
-
plugin: async () => {
|
13
|
-
return [figuresPlugin, { figcaption: true, copyAttrs: true }];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=figures.js.map
|
@@ -1 +0,0 @@
|
|
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"}
|