trolie / spec

Transmission Ratings and Operating Limits Information Exchange
https://trolie.energy/
Other
3 stars 2 forks source link

Reusing JSON examples #30

Closed caindy closed 8 months ago

caindy commented 8 months ago

Not intended for merge

You are right that Jekyll doesn't have a pretty-json filter. I struggled with that and had used this approach in an example that I shared previously; it's been removed since, so I hope you didn't waste as much time on it as I did.

Anyway, I will comment on the individual files to describe the approaches, but it's pretty straightforward. I'm leaning toward the externalValue approach, but I want to check that it doesn't break any linters or code generators that are likely to be used (see #2).