Get Content (Markdown)
AI-generatedOverview
This node interacts with SiYuan documents to perform various block operations. Specifically, for the 'Get Content (Markdown)' operation, it retrieves the Markdown content of a specified block within a SiYuan document. This is useful for scenarios where you need to read or extract the content of a particular block for processing, display, or further automation.
Use Case Examples
- Extract the Markdown content of a note block to display it in another application.
- Retrieve content from a specific block to analyze or transform it in a workflow.
Properties
| Name | Meaning |
|---|---|
| Block ID | The unique ID of the block whose Markdown content you want to retrieve. |
Output
JSON
content- The Markdown content of the specified block.
Dependencies
- Requires an API key credential for SiYuan API authentication to access the document blocks.
Troubleshooting
- Ensure the Block ID is correct and exists in the SiYuan document; otherwise, the node will fail to retrieve content.
- If the API credentials are invalid or expired, the node will not be able to connect to the SiYuan API.
- Common error messages include 'block not found' or 'authentication failed', which indicate issues with the Block ID or API credentials respectively.
Links
- SiYuan Developer API Documentation - Official documentation for SiYuan API which explains how to interact with blocks and content.