srid / neuron

Future-proof note-taking and publishing based on Zettelkasten (superseded by Emanote: https://github.com/srid/emanote)
https://neuron.zettel.page
GNU Affero General Public License v3.0
1.52k stars 150 forks source link

Include all of YAML frontmatter in JSON #570

Closed srid closed 3 years ago

srid commented 3 years ago

neuron query's JSON output should include everything in a Markdown file's YAML frontmatter as-is. This will

  1. automatically include for example "tags" (regardless of tags plugin being enabled), thus enabling editors (@felko, @chiefnoah) to directly read the tags from frontmatter without having to parse the internal plugin data. They can access also other custom metadata even if neuron doesn't know anything about them.
  2. facilitate use of tags by dirtree plugin without depending on the tag query plugin (see #569)\

tasks

srid commented 3 years ago

Done: https://github.com/srid/neuron/pull/572