Extract Markdown Headings

Extract headings from a given markdown text.

Overview

This operation identifies and extracts headings from markdown text. Markdown headings are identified by the # symbol followed by a space and then the heading text.

Syntax

the markdown text is "{input}"
extract headings from the markdown text

Data

The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.

Data NameCan Be Renamed
the markdown textNo
headingsNo

Parameters

Parameters are placeholders for data. Refer to the table below for details on each parameter in this operation. In the syntax, replace parameters with your own values.

Parameters

Description

Examples

Required

input

The markdown text containing headers to be extracted.

Title

This is a subheader.

Yes

Examples

the markdown text is "# Title \n This is a sample subtitle."
extract headings from the markdown text
# Title

👍

Tip: Use the Markdown Widget

To add multi-line markdown content, type "/" and select markdown. This opens a markdown editor where you can type and format your text easily.