Repository navigation
|
I've written a document with asciidoc, which allows you to embed raw HTML. I'd like to write some little interactive widgets in the page using Yew and then embed them, but have the "main" document still be asciidoc. Something like this: So that the big WASM bundle is only included once, and then the components are instantiated in different places. Is something like that possible? |
Answered by
Timmmm
Jan 26, 2024
Replies: 1 comment
|
I got this to work. Basically do this:
When Trunk inlines the asciidoc HTML it helpfully strips the |
0 replies
Answer selected by
Timmmm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got this to work. Basically do this:
divs for where you want to insert the components:Trunk.tomlto run Asciidoc:index.htmladd the HTML inline:fn main():