SiYuan Document Tool icon

SiYuan Document Tool

Use this tool to create, read, list, and manage documents in the SiYuan knowledge base. Use "getContent" to read a document, "create" to write a new one, "listInNotebook" to browse, or "exportMd" for full markdown export.

Export Markdown

AI-generated

Summary

Export a SiYuan document as Markdown by its document ID. The node returns the full response from SiYuan’s Markdown export endpoint.

Inputs

  • Document ID (required) — Unique ID of the document to export.

Output shape

A single JSON object containing the SiYuan export response, typically including the Markdown content and document path.

The node passes through the export endpoint’s returned data without reshaping it. With Continue On Fail enabled, an item-level error object is returned if the export fails.

Links

Discussion