Do you love the new
@Embed
enricher but wish it could embed on the first sentence or paragraph from the linked document? Then this module is for you!Introduction
This module extends the capabilities of
@Embed
added in Foundry V12+ with some extra config options (which should appear after the uuid in the embed).inline=paragraph
Only the text of the first paragraph from the linked document will be inserted into the current paragraph. (Unlike the normal
inline
syntax of @Embed
which puts the inline text into a separate section.)The inserted text will be in it's own
span
(and Foundry will give the span a class of content-embed
).inline=paragraph:N (where N is a number)
Only the text of the Nth paragraph from the linked document will be inserted into the current paragraph. (Unlike the normal
inline
syntax of @Embed
which puts the inline text into a separate section.)The inserted text will be in it's own
span
(and Foundry will give the span a class of content-embed
).inline=sentence
Only the first sentence from the linked document will be inserted into the current paragraph.
The inserted text will be in it's own
span
(and Foundry will give the span a class of content-embed
).Additional Help
The original implementation of @Embed is described at https://github.com/foundryvtt/foundryvtt/issues/10262