Plugin: import-markdown

Import contents via !![](./foo.md), or a section thereof via …#some-section, optionally filtering further — e.g. to the first paragraph or first EGC in that section.

Status

✅ Implemented

Filters

firstPOnly use the first paragraph of the section.
firstEGCOnly use the first EGC of the section.
innerSkip the initial Heading element of the section.

UX in existing text editors

Major text editors (including VSCode), without any extensions, will consider the (…) part to be the src of an Image node, so they will helpfully provide link-autocompletion when writing and link-following when command-clicking.

From zip2zip

When used in zip2zip mode, these import-* plugins can load files from your input/source zip without having to leave the WASM sandbox or incur any more file-system latency.