From 3128a97c7524404e8169a94e26faa6d62c9b7359 Mon Sep 17 00:00:00 2001 From: riccardoferretti Date: Tue, 5 Sep 2023 22:09:13 +0000 Subject: [PATCH] Docs sync @ e327115 Feat #879: Note Embedding Syntax (#1281) --- .../features/built-in-note-embedding-types.md | 29 +++++++++++++++++++ docs/features/including-notes.md | 4 ++- docs/features/note-templates.md | 4 +-- 3 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 docs/features/built-in-note-embedding-types.md diff --git a/docs/features/built-in-note-embedding-types.md b/docs/features/built-in-note-embedding-types.md new file mode 100644 index 0000000..64cd6e5 --- /dev/null +++ b/docs/features/built-in-note-embedding-types.md @@ -0,0 +1,29 @@ +# Built-In Note Embedding Types + +When embedding a note, there are a few ways to modify the scope of the content as well as its display style. The following are Foam keywords that are used to describe note embedding. + +Note, this only applies to note embedding, not embedding of attachments or images. + +![Note Embed Types GIF](../../assets/images/note-embed-type-demo.gif) + +## Scope + +- `full` - the entire note in the case of `![[note]]` or the entire section in the case of `![[note#section1]]` +- `content` - everything excluding the title of the section. So the entire note minus the title for `![[note]]`, or the entire section minus the section header for `![[note#section1]]` + +## Style + +- `card` - outlines the embedded note with a border +- `inline` - adds the note continuously as if the text were part of the calling note + +## Default Setting + +Foam expresses note display type as `-