You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be cool if this gem knew how to read/write yaml files. The only thing that would need to be added is new load/write methods.
This will actually help with another design problem I'm having. I want to add a to_md method at the entry level that will return the entry as an array of markdown lines. We already have to_json and to_h, at the entry level, so to_md would be nice. Then, when writing a file, we could just do
It'd be cool if this gem knew how to read/write yaml files. The only thing that would need to be added is new load/write methods.
This will actually help with another design problem I'm having. I want to add a
to_md
method at the entry level that will return the entry as an array of markdown lines. We already haveto_json
andto_h
, at the entry level, soto_md
would be nice. Then, when writing a file, we could just doThe only thing I don't like about this, is I don't feel like the config for markdown should be in the
Entry
class. In other words, this feels wrong:BUT, if we have different parsers for YAML, Markdown, etc, then the config can live in those classes.
The text was updated successfully, but these errors were encountered: