interface EnrichmentOptions {
    secrets: boolean;
    documents: boolean;
    links: boolean;
    rolls: boolean;
    embeds: boolean;
    rollData: object | Function;
    relativeTo: ClientDocument;
}

Properties

secrets: boolean

Include unrevealed secret tags in the final HTML? If false, unrevealed secret blocks will be removed.

documents: boolean

Replace dynamic document links?

links: boolean

Replace hyperlink content?

rolls: boolean

Replace inline dice rolls?

embeds: boolean

Replace embedded content?

rollData: object | Function

The data object providing context for inline rolls, or a function that produces it.

relativeTo: ClientDocument

A document to resolve relative UUIDs against.