function extractSvgContent
extractSvgContent(svg: string): string

Extract the inner content of an SVG element (strip the outer <svg> wrapper)

Parameters

svg: string

Return Type

string

Usage

import { extractSvgContent } from "doc.ts";