This works well when I put the files in the routes directory.
But I have my asciidoc format 'content' files in /src/content and use a $lib js file to load the source content and then process it into HTML.
What would be the best way to auto-import the Components like <Logo /> found within the asciidoc source string, before returning it as HTML for placement into the layout component?
This works well when I put the files in the routes directory. But I have my asciidoc format 'content' files in
/src/content
and use a$lib
js file to load the source content and then process it into HTML.What would be the best way to auto-import the Components like
<Logo />
found within the asciidoc source string, before returning it as HTML for placement into the layout component?