SiYuan icon

SiYuan

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

Markdown Table → Create

AI-generated

Overview

This node operation creates a new Markdown table block within a specified parent block (typically a document) in the SiYuan workspace. It is useful for users who want to programmatically add structured Markdown tables to their documents or notes, enabling automated content generation or document management workflows.

Use Case Examples

  1. Creating a Markdown table in a document to organize data in rows and columns.
  2. Appending a new table to an existing block to enhance note-taking or documentation.

Properties

Name Meaning
Parent Block ID The ID of the block (typically a document) where the new Markdown table will be appended.
Columns Column definitions for the new Markdown table, specifying the header text for each column.

Output

JSON

  • success - Indicates whether the Markdown table creation operation was successful.

Dependencies

  • Requires SiYuan API URL and API token credentials for authentication.

Troubleshooting

  • Ensure that the SiYuan API URL and token are correctly provided; missing credentials will cause the node to throw an error.
  • If the specified parent block ID does not exist or is invalid, the operation may fail.
  • Unsupported resource or operation errors occur if the resource or operation parameters are incorrect.

Discussion