module

Extra Embed Options

Endorsements
0
Installs
0.0035%
Comments
0
Latest version0.3.0
Minimum Core12
Compatible Core13.334
Last updated13 minutes ago
Created7 months ago
Authors
Languages English
Systems All systems
Project source Project URL
Read-me Readme URL
License License URL
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

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x