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 f88108b commit a3df80dCopy full SHA for a3df80d
mkdocs_markmap/static_files/mkdocs-markmap.js
@@ -3,7 +3,12 @@
3
const assets = transformer.getAssets();
4
const loading = Promise.all([
5
assets.styles && markmap.loadCSS(assets.styles),
6
- assets.scripts && markmap.loadJS(assets.scripts),
+ markmap.loadJS([
7
+ ...transformer.plugins.flatMap(
8
+ (plugin) => plugin.config?.preloadScripts || []
9
+ ),
10
+ ...(assets.scripts || []),
11
+ ]),
12
]);
13
14
function parseData(content) {
0 commit comments