GithubHelp home page GithubHelp logo

fvtt-extra-embed's Introduction

ko-fi patreon paypal GitHub License Latest Release Download Count Forge installs

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 (as identified by the number after the colon) 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 Information

The original implementation of @Embed is described at foundryvtt/foundryvtt#10262

Support

If you like what it does, then all contributions will be gratefully received at Kofi or Paypal or if you're feeling really generous you could set up a regular contribution at Patreon

fvtt-extra-embed's People

Contributors

dependabot[bot] avatar farling42 avatar

Watchers

 avatar

fvtt-extra-embed's Issues

You're not shipping your language file

Your github workflow is set up to zip a language/ folder, but this repo has languages/ instead, so the produced release does not contain your en.json:

edit: I just actually looked at en.json for the first time. It's understandable why this would go unnoticed, lol.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.