Skip to content

Markdown Outline

Parse Markdown documents into structured outline data.

Text AI & ML Transform json

actions:
- markdown-outline: {}
JSON
{
"actions": [
{
"markdown-outline": {}
}
]
}

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

General
Field Type Required Description
description string describe this step.
condition lua-expression (string) Only run this action if the specified condition is met.
Examples: 2 * count()
Input
Field Type Required Description
input-field field (string) Field containing Markdown data, default is ‘_raw’.
Examples: data_field
Output
Field Type Required Description
include-tables boolean (bool) Include tables in the emitted outline metadata.
Default: false
include-media boolean (bool) Include images and media references in the outline metadata.
Default: false
emit-summary boolean (bool) Emit a short summary paragraph when available.
Default: false
outline-field field (string) Field to store the structured outline (defaults to ‘outline’).
Examples: data_field
references-field field (string) Field to store graph/table metadata (defaults to ‘outline_graphs’).
Examples: data_field
summary-field field (string) Field to store summary text (defaults to ‘outline_summary’).
Examples: data_field
Parsing
Field Type Required Description
max-heading-level number (integer) Highest heading level to include (1 = H1, 6 = H6).
Examples: 42, 1.2e-10
tokens string[] Additional tokens (words or phrases) that should be indexed.