-
Notifications
You must be signed in to change notification settings - Fork 137
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
File Metadata Block #164
Comments
This seems related to Use file name instead of first line as title #190 as when that is fixed, your issue about the note automatically being renamed would be fixed as well. :) Additionally afterwards we could for example show the text of that block at 50% opacity to show it’s not part of the note content. |
I initially posted this as a separate Issue on the basis that I thought interoperability with the header format used by Joplin would involve a different metadata format, but I dug into my Joplin notes, and it appears they do, in fact, use YAML, so I'm going to bring my commentary over here, instead.
I guess if I were to summarize my main thought here, it would be to say that metadata could be implemented incrementally by defaulting to preserving and concealing it behind a disclosure button, so that metadata fields yet to be implemented could still be passed to and from other applications that do support them. |
This is an example of a Markdown file created by Joplin:
The first line of the file is, in fact, the display title in Joplin. Joplin just pretends that it's a defined field. (The blank line between the first and third lines is stripped out.) Also, the filename of this note was |
I think it would be very helpful to allow the use of a YAML-like metadata block. (Or Multi-Markdown style. Or Pandoc. Just something.)
YAML-like:
Ideally, this would use the "title:value" pair to name the note, and everything within the block would be formatted to show it's not part of the note content.
I use pandoc locally to frequently turn a note into a pdf or .doc file, so I use meta blocks a lot. Not having Notes automatically rename my file to
title: value
would be great.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: