Member Junction
    Preparing search index...

    The custom token emitted by the SVG renderer extension for a ```svg fence.

    This is the framework-agnostic hand-off: the web/HTML path renders it into a .svg-rendered wrapper, while a native path (React Native + react-native-svg) can consume svgContent directly.

    interface SvgCodeBlockToken {
        raw: string;
        svgContent: string;
        tokens?: Token[];
        type: "svgCodeBlock";
        [index: string]: any;
    }

    Hierarchy

    • Generic
      • SvgCodeBlockToken

    Indexable

    • [index: string]: any
    Index

    Properties

    raw: string

    The original matched markdown source (the full svg … fence).

    svgContent: string

    The inner SVG markup, trimmed — everything between the fences.

    tokens?: Token[]
    type: "svgCodeBlock"

    Discriminant identifying this custom block token.