srid/emanote

![[..]] snippet

開放

#265 建立於 2022年3月21日

 (1 則留言) (0 個反應) (0 位負責人)Haskell (78 個分叉)github user discovery
What I needenhancementgood first issue

倉庫指標

星標
 (948 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南