Register

Extra Embed Options

An Add-on Module for Foundry Virtual Tabletop

Author: Farling Project Source: Project URL Versions 12+ (Verified 12.327) Last Updated 5 months, 1 week ago
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

Categories

Available Versions

  1. Version 0.2.0

    5 months, 1 week ago
    Foundry Version 12+ (Verified 12.327) Manifest URL Read Notes
  2. Version 0.1.0

    6 months, 1 week ago
    Foundry Version 12+ (Verified 12.323) Manifest URL Read Notes