portal

Daniel Slutsky 2023-01-14T22:36:21.930239Z

Hi. https://github.com/djblue/portal/blob/master/doc/guides/standalone.md's feature of https://github.com/djblue/portal/blob/master/doc/guides/standalone.md#preloading-data looks wonderful. A couple of questions (not so pressing, just wondering for now): • is there a way to somehow load https://cljdoc.org/d/djblue/portal/0.35.1/doc/guides/custom-viewer as part of the data file? • is there a way to include images (e.g., PNG) in the data file?

djblue 2023-01-16T16:36:44.395669Z

Loading custom viewers into the standalone version isn't currently supported but I'm down to add it if we come up with something reasonable. Images can be loaded via the hiccup viewer using the :img element.

Daniel Slutsky 2023-01-16T16:40:18.702269Z

Nice, thanks!

djblue 2023-01-16T16:53:26.342959Z

Also, I think transit supports binary data which can be viewed as an image 👌

🙏 1