From 944c9c70d14c1e806e9d0c04e5cd7650a6437ba3 Mon Sep 17 00:00:00 2001 From: limina1 Date: Wed, 30 Jul 2025 14:46:05 -0400 Subject: [PATCH] add note and article placeholder, hinting at how to format in zetteleditor --- src/lib/components/ZettelEditor.svelte | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/lib/components/ZettelEditor.svelte b/src/lib/components/ZettelEditor.svelte index da96f74..c28be59 100644 --- a/src/lib/components/ZettelEditor.svelte +++ b/src/lib/components/ZettelEditor.svelte @@ -12,19 +12,30 @@ import asciidoctor from "asciidoctor"; // Component props let { content = "", - placeholder = `== Note Title + placeholder = `// PUBLISHING MODES: +// Use "= Article Title" to publish an article/collection of notes +// Use only "== Note Title" headings for scattered notes (30041 events only) + += Article Title (Full Collection) :author: Your Name :version: 1.0 :published_on: 2024-01-01 :published_by: Alexandria -:summary: A brief description of this note -:tags: note, example, metadata +:summary: A brief description of this article +:tags: article, example, metadata :image: https://example.com/image.jpg +:type: book + +== Chapter 1: Introduction +:author: Your Name +:keywords: introduction, chapter, example +:description: This is the first chapter of the article + +Chapter content here... -note content here... == Note Title 2 -Some Other Author (this weeks even if there is no :author: attribute) +Some Other Author (this works even if there is no :author: attribute) :keywords: second, note, example (keywords are converted to tags) :description: This is a description of the note (description is converted to a summary tag) Note content here...