FoxxMD / context-mod

an event-based, reddit moderation bot built on top of snoowrap and written in typescript
https://contextmod.dev
MIT License
49 stars 11 forks source link

Support editing YAML in editor #57

Closed FoxxMD closed 2 years ago

FoxxMD commented 2 years ago

Currently monaco does not officially support validating YAML with a json schema

There is a fork that supports this at monaco-ymal but it will require setting up a bundler and reverting to hosting monaco in the repo instead of using a CDN

FoxxMD commented 2 years ago

Added hacky editor using monaco-yaml in 768a199c40ac9d5913060d686b980a067e01076e