We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f50fdc7 commit f8fc8b5Copy full SHA for f8fc8b5
plugin-custom-directives.mjs
@@ -39,23 +39,20 @@ const youShouldNoticeDirective = {
39
},
40
run(data, _, ctx) {
41
return [{
42
- type: "block",
43
- children: [{
44
- type: "admonition",
45
- kind: "important",
46
- icon: false,
47
- class: "simple",
48
- children: [
49
- {
50
- type: "admonitionTitle",
51
52
- type: "text",
53
- value: "👀 You should notice...",
54
- }],
55
- },
56
- ctx.parseMyst(data.body),
57
- ],
58
+ type: "admonition",
+ kind: "important",
+ icon: false,
+ class: "simple",
+ children: [
+ {
+ type: "admonitionTitle",
+ children: [{
+ type: "text",
+ value: "👀 You should notice...",
+ }],
+ },
+ ctx.parseMyst(data.body),
+ ],
59
}];
60
61
};
0 commit comments