Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Adding custom js "media" components #52

Open
gwennlbh opened this issue Jan 30, 2023 · 0 comments
Open

Adding custom js "media" components #52

gwennlbh opened this issue Jan 30, 2023 · 0 comments

Comments

@gwennlbh
Copy link
Member

With syntax

![...](thing.js)

Getting rendered to

<div ... id="(random shortuid)">
<script>
const self = document.getElementById('(the shortuid)')
(Contents of thing.js)
</script>

Use case: self-refreshing artwork for shapemaker without using an iframe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant