Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Block → Prepend
AI-generatedSummary
Prepends Markdown or DOM content as a block at the beginning of a specified SiYuan parent block.
Inputs
- Parent Block ID (required) — ID of the document or container block that will receive the content.
- Content (Markdown) (required) — Content to prepend. Defaults to Markdown; set Additional Options → Data Type to DOM (HTML) to send DOM content.
- Data Type — Content format: Markdown (default) or DOM (HTML).
Output shape
The SiYuan API response data for the prepend request.
The operation changes the parent block by adding content at its beginning. The returned data is passed through without reshaping; if the API returns no data, the node emits {"success":true}.