SiYuan icon

SiYuan

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

System → Render Sprig Template

AI-generated

Summary

Render a Sprig template through SiYuan’s built-in template renderer. Supply the required template string; the operation returns both the submitted template and the rendered result.

Inputs

  • Sprig Template (required) — Sprig template string to render, such as {{now | date "2006-01-02"}}.

Output shape

A single record containing template and result fields.

result is an empty string if SiYuan returns no result. Requires SiYuan API credentials and a reachable SiYuan instance.

Links

Discussion