SiYuan icon

SiYuan

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

Markdown Table → Delete Row

AI-generated

Overview

This node operation deletes a specific row from a Markdown table block in SiYuan. It is useful for workflows that need to dynamically modify Markdown tables by removing rows based on their zero-based index, excluding the header row. For example, it can be used to clean up or update tables in documentation or notes automatically.

Use Case Examples

  1. Deleting a row from a Markdown table in a note to remove outdated information.
  2. Automating the removal of specific data entries from a Markdown table based on certain conditions.

Properties

Name Meaning
Table Block ID The ID of the Markdown table block to operate on, identifying which table to modify.
Row Index Zero-based index of the row to delete, excluding the header row, specifying which row to remove from the table.

Output

JSON

  • success - Indicates whether the row deletion operation was successful.

Dependencies

  • Requires SiYuan API URL and API token credentials to authenticate and perform operations on the SiYuan workspace.

Troubleshooting

  • Ensure the Table Block ID is correct and corresponds to an existing Markdown table block in SiYuan.
  • Verify the Row Index is within the valid range of rows in the table (excluding the header).
  • Check that the SiYuan API URL and token credentials are correctly set and have the necessary permissions.
  • Common error: 'SiYuan API URL and Token are required.' means credentials are missing or invalid; provide valid credentials to resolve.
  • Unsupported resource or operation errors indicate incorrect resource or operation parameters; verify input values.

Discussion