jonathanadams / esphome-configs

ESPHome Device Configurations Repository - A database of user submitted configurations for a variety of devices which can be flashed to run ESPHome.io firmware.
https://ESPHome-Configs.io
GNU General Public License v3.0
68 stars 96 forks source link

Suggestion: Separate code from markdown to easily test the esphome configurations #123

Open eliseomartelli opened 4 years ago

eliseomartelli commented 4 years ago

Separate code from markdown to then use esphome to check the configs.

It should make this possible: https://github.com/jonathanadams/esphome-configs/issues/27#issuecomment-553159891

We could use jekyll when generating the site to embed the code in the web page.

jonathanadams commented 4 years ago

I had attempted to get this working with a GitHub action but with no success.

You are welcome to have a go at implementing this if you wish. Unfortunately, i don't have time to try myself at the moment.