-
-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YAML export does not export proper YAML or correctly spelled "starred" field #835
Comments
Yup! I'm in favor of renaming it to clarify that it's DayOne-related. @MinchinWeb Your opinion? |
The YAML export is designed to support DayOne (although I hope all exporters will do so), but it's actual roots are a modification of the Markdown exporter to include the entry metadata in a format useful as an input format for Pelican, a static site generator. This is why the files export with a I'm fine with renaming it, but a more appropriate name would be along the lines of "Markdown with YAML front matter" or "Pelican Markdown"; i.e. nothing to do with DayOne. "stared" appears to be an spelling mistake from when the exporter was first added; no reason to keep the error. |
The (original) discussion about why the exporter is named the way it is is found in this pull request --> #258 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This was fixed by #907 |
Bug report
Steps to repro:
Expected results:
Actual results:
Uncovered while reviewing the tests in PR #824.
Background/discussion
The YAML export's history is rooted in Day One compatibility (#159, #773, #349). That's fine, and it looks like we may need to preserve this behavior as a Day One export, but calling it a YAML export means that anybody expecting to extract/transform/load their jrnl anywhere else via YAML is going to have a bad time.
Maybe we rename the export type to something more appropriate to its intended function. Or, if the original target of this export can take proper YAML, then maybe we rework it. @MinchinWeb, any thoughts?
The text was updated successfully, but these errors were encountered: