SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

Markdown Table → Get

AI-generated

Summary

Read a SiYuan Markdown table block and parse its Markdown into a table structure with column names and row data.

Inputs

  • Table Block ID (required) — ID of the Markdown table block to read.

Output shape

A single record containing the table block ID, columns, and rows.

Columns are returned as objects with a name; each row is an object keyed by column name. Parsing requires at least a header and separator row. Lines not beginning with a pipe are ignored.

Links

Discussion