{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "applyTag",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "withText",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "withText",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "anchorsLinkedFrom",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "markdownOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "plainText",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "presentation/renderers/text.renderer.ts",
          "name": "plainText",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-renderers-text-renderer-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/renderers/text.renderer.ts",
            "label": "presentation/renderers/text.renderer.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/renderers/text.renderer.ts.md",
            "ref": "anatomy:file-presentation-renderers-text-renderer-ts"
          }
        },
        {
          "file": "presentation/renderers/text.renderer.ts",
          "name": "renderMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-renderers-text-renderer-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/renderers/text.renderer.ts",
            "label": "presentation/renderers/text.renderer.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/renderers/text.renderer.ts.md",
            "ref": "anatomy:file-presentation-renderers-text-renderer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 113,
      "name": "convertMarkup",
      "signature": "export const convertMarkup = function convertMarkup(markup: string): readonly Run[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "decodeEntities",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "runOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "applyTag",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "convertMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "convertMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 94,
      "name": "withText",
      "signature": "const withText = function withText(scan: Scan, raw: string): Scan {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "groupsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "groupsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "markdownGroup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 182,
      "name": "isEmphasized",
      "signature": "const isEmphasized = function isEmphasized(run: Run): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "hrefOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "withText",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "convertMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 98,
      "name": "applyTag",
      "signature": "const applyTag = function applyTag(scan: Scan, body: string): Scan {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "isEmphasized",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "isEmphasized",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "markdownOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 199,
      "name": "groupsOf",
      "signature": "const groupsOf = function groupsOf(runs: readonly Run[]): readonly (readonly Run[])[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "cutAtWord",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "summarizeMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 149,
      "name": "cutAtSentence",
      "signature": "const cutAtSentence = function cutAtSentence(text: string, limit: number): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "applyTag",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "hrefOf",
      "signature": "const hrefOf = function hrefOf(body: string): string | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "withText",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "decodeEntities",
      "signature": "const decodeEntities = function decodeEntities(text: string): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "withText",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 83,
      "name": "runOf",
      "signature": "const runOf = function runOf(scan: Scan, text: string): Run {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "cutAtSentence",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 141,
      "name": "cutAtWord",
      "signature": "const cutAtWord = function cutAtWord(text: string, limit: number): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "markdownGroup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 190,
      "name": "emphasize",
      "signature": "const emphasize = function emphasize(inner: string): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "emphasize",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "isEmphasized",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 213,
      "name": "markdownGroup",
      "signature": "const markdownGroup = function markdownGroup(group: readonly Run[]): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "convertMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "groupsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 221,
      "name": "markdownOf",
      "signature": "export const markdownOf = function markdownOf(markup: string): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "convertMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 132,
      "name": "plainText",
      "signature": "const plainText = function plainText(markup: string): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/markup.converter.ts",
          "name": "cutAtSentence",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 157,
      "name": "summarizeMarkup",
      "signature": "export const summarizeMarkup = function summarizeMarkup(markup: string, fallback: string): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "ENTITY_OPEN",
      "signature": "const ENTITY_OPEN = \"&\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "ENTITY_CLOSE",
      "signature": "const ENTITY_CLOSE = \";\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "HREF_MARK",
      "signature": "const HREF_MARK = \"href=\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "QUOTES",
      "signature": "const QUOTES = new Set(['\"', \"'\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "KIND_BY_TAG",
      "signature": "const KIND_BY_TAG: ReadonlyMap<string, RunKind> = new Map(["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "ENTITIES",
      "signature": "const ENTITIES: ReadonlyMap<string, string> = new Map(["
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 32,
      "name": "tagName",
      "signature": "const tagName = function tagName(body: string): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "space",
      "signature": "const space = trimmed.indexOf(\" \");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "at",
      "signature": "const at = body.indexOf(HREF_MARK);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 44,
      "name": "quote",
      "signature": "const quote = body.charAt(start - 1);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "end",
      "signature": "const end = body.indexOf(quote, start);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 53,
      "name": "output",
      "signature": "let output = \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 58,
      "name": "decoded",
      "signature": "const decoded = close === -1 ? undefined : ENTITIES.get(text.slice(open + 1, close));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 70,
      "name": "Frame",
      "signature": "interface Frame {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 75,
      "name": "Scan",
      "signature": "interface Scan {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 80,
      "name": "BREAK_RUN",
      "signature": "const BREAK_RUN: Run = { kind: \"break\", text: \"\" };"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 81,
      "name": "TEXT_FRAME",
      "signature": "const TEXT_FRAME: Frame = { href: null, kind: \"text\" };"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 84,
      "name": "frame",
      "signature": "const frame = scan.frames.at(-1) ?? TEXT_FRAME;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 85,
      "name": "enclosed",
      "signature": "const enclosed = scan.frames.slice(0, -1).some((outer) => outer.kind === \"emphasis\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 99,
      "name": "name",
      "signature": "const name = tagName(body);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 106,
      "name": "kind",
      "signature": "const kind = KIND_BY_TAG.get(name);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 114,
      "name": "scan",
      "signature": "let scan: Scan = { frames: [], runs: [] };"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 115,
      "name": "cursor",
      "signature": "let cursor = 0;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 117,
      "name": "open",
      "signature": "const open = markup.indexOf(ANGLE_OPEN, cursor);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 118,
      "name": "close",
      "signature": "const close = open === -1 ? -1 : markup.indexOf(ANGLE_CLOSE, open);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 129,
      "name": "ELLIPSIS",
      "signature": "const ELLIPSIS = \"…\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 130,
      "name": "SENTENCE_BREAK",
      "signature": "const SENTENCE_BREAK = \". \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 153,
      "name": "boundary",
      "signature": "const boundary = text.lastIndexOf(SENTENCE_BREAK, limit - 1);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 158,
      "name": "text",
      "signature": "const text = plainText(markup);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 162,
      "name": "MARK_BY_KIND",
      "signature": "const MARK_BY_KIND: ReadonlyMap<RunKind, string> = new Map(["
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 168,
      "name": "markdownRun",
      "signature": "const markdownRun = function markdownRun(run: Run): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 178,
      "name": "mark",
      "signature": "const mark = MARK_BY_KIND.get(run.kind) ?? \"\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 186,
      "name": "plainRun",
      "signature": "const plainRun = function plainRun(run: Run): Run {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 191,
      "name": "trimmed",
      "signature": "const trimmed = inner.trim();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 195,
      "name": "start",
      "signature": "const start = inner.indexOf(trimmed);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 200,
      "name": "groups",
      "signature": "const groups: Run[][] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 202,
      "name": "last",
      "signature": "const last = groups.at(-1);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 203,
      "name": "first",
      "signature": "const first = last?.[0];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 214,
      "name": "[first]",
      "signature": "const [first] = group;"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "markup.converter.ts",
  "path": "core/converters/markup.converter.ts",
  "ref": "anatomy:file-core-converters-markup-converter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-converters.md",
          "ref": "chapter:/anatomy/tree#folder-core-converters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
          "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
          "label": "core/analyzers/search.analyzer.ts",
          "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
          "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-presentation-renderers-text-renderer-ts",
          "json": "https://banes-lab.com/json/source/tree/presentation/renderers/text.renderer.ts",
          "label": "presentation/renderers/text.renderer.ts",
          "markdown": "https://banes-lab.com/source/tree/presentation/renderers/text.renderer.ts.md",
          "ref": "anatomy:file-presentation-renderers-text-renderer-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-analyzers.md",
          "ref": "chapter:/anatomy/tree#folder-core-analyzers"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-converters.md",
          "ref": "chapter:/anatomy/tree#folder-core-converters"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-presentation-renderers",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-presentation-renderers",
          "label": "presentation/renderers",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-presentation-renderers.md",
          "ref": "chapter:/anatomy/tree#folder-presentation-renderers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "converter",
    "subject": "markup",
    "variant": null
  },
  "stats": {
    "bytes": 7462,
    "callable": 18,
    "definitions": 54,
    "edges": 16,
    "exported": 8,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 5,
      "leaf": 6,
      "entry": 4,
      "isolated": 39
    },
    "lines": {
      "blank": 26,
      "code": 197,
      "total": 223
    }
  },
  "summary": "197 lines of code and 54 definitions.",
  "text": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.txt",
  "tree": "tree",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/tree#file-core-converters-surface-converter-ts",
      "json": "https://banes-lab.com/json/source/tree/core/converters/surface.converter.ts",
      "label": "core/converters/surface.converter.ts",
      "markdown": "https://banes-lab.com/source/tree/core/converters/surface.converter.ts.md",
      "ref": "anatomy:file-core-converters-surface-converter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markdown-converter-ts",
      "json": "https://banes-lab.com/json/source/tree/core/converters/markdown.converter.ts",
      "label": "core/converters/markdown.converter.ts",
      "markdown": "https://banes-lab.com/source/tree/core/converters/markdown.converter.ts.md",
      "ref": "anatomy:file-core-converters-markdown-converter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/tree/core/converters",
    "label": "core/converters",
    "markdown": "https://banes-lab.com/api/source/tree/core/converters.md",
    "ref": "api:source/tree/core/converters"
  }
}
