SiYuan icon

SiYuan

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

Markdown Table → Create

AI-generated

Summary

Append a Markdown table to a SiYuan parent block using the supplied column names as its header. The operation writes a header and separator row, with no data rows.

Inputs

  • Parent Block ID (required) — ID of the block, typically a document, where the table will be appended.
  • Columns (required) — One or more column definitions. Each column's Name becomes its header text; entries without a name are skipped.

Output shape

A single record

Returns the parentBlockId, the new tableBlockId (null if the append response does not include it), the columns used, and the SiYuan appendResult. At least one named column is required; otherwise table creation fails.

Links

Discussion