Skip to content
HALOWERK

Denkwerk

doc outline tree

HTML: h1 to h6 in document order (scripts and styles removed), anchors from id attributes or generated slugs. Markdown: ATX and setext headings via marked, with character offsets and generated slugs (lower case, punctuation removed, spaces to hyphens, duplicates numbered). PDF (base64): the document outline (bookmarks) read with pdf-lib, including nested items, explicit destinations, named destinations and GoTo actions, resolved to page numbers. For HTML and Markdown every node carries own.

POST https://denk.halowerk.com/v1/doc-outline-tree

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
htmlstringNo
markdownstringNo
pdf_base64stringNoPDF file as base64 (max. about 10 MB).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "html": {
      "type": "string",
      "minLength": 1,
      "maxLength": 5000000
    },
    "markdown": {
      "type": "string",
      "minLength": 1,
      "maxLength": 5000000
    },
    "pdf_base64": {
      "type": "string",
      "minLength": 8,
      "maxLength": 14000000,
      "description": "PDF file as base64 (max. about 10 MB)."
    }
  }
}

Open original schema

Published input example

{
  "markdown": "# Handbuch\n\n## Installation\n\nText.\n\n## Betrieb\n\nMehr Text."
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’