-
Home
-
Docs
Scriban — User Guide
Welcome to the Scriban documentation. Whether you are new to Scriban or an experienced user, this guide will help you make the most of the library.
Getting started
| Guide |
What you'll learn |
| Getting started |
Install Scriban, write your first template, and render output |
| Language overview |
Blocks, variables, expressions, control flow, functions, and more |
Language reference
| Guide |
What you'll learn |
| Language reference |
Full syntax reference: blocks, literals, variables, expressions, statements |
Built-in functions
| Module |
What it provides |
| Built-in functions overview |
Index of all built-in function groups |
| Array functions |
add, sort, map, filter, join, and more |
| String functions |
upcase, downcase, replace, truncate, split, and more |
| Date functions |
now, parse, add_days, to_string, and more |
| Math functions |
ceil, floor, round, abs, and more |
| Object functions |
typeof, keys, values, has_key, and more |
| Regex functions |
match, replace, split, escape, and more |
| HTML functions |
escape, strip, url_encode, url_decode |
| TimeSpan functions |
from_days, from_hours, from_minutes, and more |
.NET runtime API
| Guide |
What you'll learn |
| Runtime API |
Parsing, rendering, TemplateContext, ScriptObject, custom functions |
Liquid compatibility
| Guide |
What you'll learn |
| Liquid support |
Using Scriban with Liquid templates, syntax mapping, and migration |