You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been talking about creating a better embedded experience for Evidence, so it's great to hear that it's something you're trying to do. Can you give me a better idea of what it is you're trying to achieve:
Embed specific components from an Evidence project into your express app (eg Charts, Tables, Text snippets etc).
Compile "Evidence flavoured markdown" pages into HTML that you can insert as pages in your express app.
Something else?
If the answer is 2, then there may be a way to achieve that today:
Evidence uses SvelteKit, and compiles "Evidence Markdown" in the following way
SQL queries are extracted and run against your database, and stored in js objects.
Markdown is rendered into HTML pages. Any components are populated with data from the js objects.
If you run npm run build then static HTML pages are generated. Though I haven't done it myself I believe these could be served by an express app
If the answer is 1, then we don't have a way to achieve that well today, but it's definitely on our to-do list!
Feature Description
Embed evidence markdown view and render to express app.
Goal of Feature
Fast development complex app