InlineTransformer typedef

InlineTransformer = Inline? Function(Inline inlineNode, HookContext ctx)

Transforms or filters a parsed inline element before rendering.

Return the inline unchanged, return a modified inline, or return null to drop it from output.

Implementation

typedef InlineTransformer =
    Inline? Function(Inline inlineNode, HookContext ctx);