Skip to content

Commit

Permalink
add spagda to strudel
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Jan 25, 2025
1 parent 79eb5d7 commit 54584b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions panels/strudel.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!doctype html>
<html lang="en">
<script src="/src/std.js"></script>
<body>
<script type="module">
const { highlightMiniLocations, updateMiniLocations, editorViews } = window.parent;
Expand Down
5 changes: 5 additions & 0 deletions src/std.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
window.spagda = function spagda(name) {
samples({
[name]: `https://spag.cc/${name}`,
});
};

0 comments on commit 54584b0

Please sign in to comment.