srid/emanote

![[..]] snippet

Open

#265 opened on Mar 21, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Haskell (78 forks)github user discovery
What I needenhancementgood first issue

Repository metrics

Stars
 (948 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide