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 f4765c5 commit 5253615Copy full SHA for 5253615
src/ui/widgets/EmbeddedDisplay/opiParser.ts
@@ -824,6 +824,14 @@ function opiPatchPaths(
824
}
825
826
827
+
828
+ // symbols: list of string file paths
829
+ if ( widgetDescription["symbols"] && parentDir) {
830
+ widgetDescription["symbols"] = widgetDescription["symbols"].map((symbol: string) => {
831
+ if (symbol.startsWith("http")) return symbol;
832
+ return normalisePath(symbol, parentDir);
833
+ })
834
+ }
835
836
837
function opiPatchActions(widgetDescription: WidgetDescription): void {
0 commit comments