FlowFuse / flow-renderer

Apache License 2.0
5 stars 0 forks source link

Explore better integration with eleventy and other systems #22

Closed Steve-Mcl closed 5 months ago

Steve-Mcl commented 5 months ago

Description

consider auto-rendering of matching div.class consider rendering flow data in a pre consider how to handle html escaped JSON

Steve-Mcl commented 5 months ago

@ZJvandeWeg I think we can close this when 0.3.0 is released?

The new auto layout features added in #29 coupled with the eleventy macro you devised for website are enough for the time being right?

ZJvandeWeg commented 5 months ago

I think this is fine indeed, maybe some things that later are needed.

If someone pops by from Google and needs a static site generator to send the JSON to the client without it being messed up, I ended up with JSON.stringify() with a JSON.parse(): https://github.com/FlowFuse/website/pull/1985/files#diff-c306e0a99961a16f5c5c83996caa0958b94006d97f97475049ea3a08036bb5b0R94