disable deprecated marked options

to get rid of warnings in the console
This commit is contained in:
Martin Raifer
2023-07-21 09:34:20 +02:00
parent d0e061c472
commit 3159c87ae1
+6
View File
@@ -1,3 +1,4 @@
import { marked } from 'marked';
import {
select as d3_select
} from 'd3-selection';
@@ -689,5 +690,10 @@ export function uiInit(context) {
_saveLoading = d3_select(null);
});
marked.use({
mangle: false,
headerIds: false,
});
return ui;
}