srid/emanote

![[..]] snippet

Aperta

#265 aperta il 21 mar 2022

 (1 commento) (0 reazioni) (0 assegnatari)Haskell (78 fork)github user discovery
What I needenhancementgood first issue

Metriche repository

Star
 (948 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor