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.

贡献者指南