emanote icon indicating copy to clipboard operation
emanote copied to clipboard

![[..]] snippet

Open srid opened this issue 3 years ago • 1 comments

If the embedded note has a div with a certain ID, say summary, embed that div instead of the whole note.

So, if the note Foo.md was:

First paragraph

:::{#summary}
Second paragraph
:::

Third paragraph

Then embedding this note using ![[Foo]] should display only the second paragraph, albeit with some indicator to indicate that we are only displaying a snippet.

srid avatar Mar 21 '22 14:03 srid

Alternatively, embed everything until the first level H2 heading.

srid avatar Mar 29 '22 12:03 srid