Link just a selection from a file?

there’s an omnioutliner script here that works for me - Cite&Write with OmniOutliner