mlange-42 / yarner

Literate Programming command line tool for Markdown
https://mlange-42.github.io/yarner
MIT License
32 stars 1 forks source link

[Feature] Extract / write JSON schema for non-Rust pre-processors #135

Closed mlange-42 closed 3 years ago

mlange-42 commented 3 years ago

Managed to write out in large parts with schemars, but toml::Value (used for preprocessor-settings in Yarner.toml) does not implement JsonSchema.

Is it then simply "type": "object"?

Potentially, the pre-processor settings could be BTreeMap or HashMap, but that would impose some restrictions on pre-processors.

mlange-42 commented 3 years ago

Done in #136