File Metadata Block
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
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:
---
title: value
author: value
date: value
---
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the note parsing and editor entry points, then compare their current handling of metadata-like blocks with the YAML example and the requested title behavior. Done means a metadata block is recognized, displayed separately from note content, and its title behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, markdown, yaml
- Domain
- content
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100