Enable datacore plugin.
Put the jsx and css files together in your vault.
Then put this codeblock in your note. Remember to replace the scriptPath path.
```datacorejsx
const scriptPath = "PATH/TO/dc-nyanCatProgress-draggable.jsx"; // ⬅️ replace it with your jsx file path!
const target = dc.fileLink(scriptPath);