doc-builder
doc-builder copied to clipboard
We can't embed Tweet in doc-builder
Context: For the ML for Games Course I wanted to embed some tweets from Scenario.gg team that made very good showcase of their features.
However, it seems we can't do it with doc-builder since building the PR lead to errors that seems related to the fact that when we embed a tweet, we add a
[vite-plugin-svelte] /tmp/tmprl7wke7x/kit/src/routes/unit2/2d-generation/+page.svelte:8:0 A component can only have one instance-level <script> element
I think it's a low-priority feature but it worth mentioning it.
Error message when compiling: https://github.com/huggingface/making-games-with-ai-course/actions/runs/8721509263/job/23925393896#step:12:33