-
How to reproduce:
```C#
public static class MyFunctions
{
public static string A(TemplateContext context, object input, string currencyCode = null)
{
return input.T…
-
public static string RenderTemplateByFilename(string filename, **dynamic obj**)
{
try
{
TemplateHolder t = GetTemplateByFileName(filename + ".html")…
-
### **Description**
Getting an exception on calling `AppCenter.Start()`. I'm looking through the demo project(s) and I'm not seeing anything obvious that I might be missing.
```
System.Argument…
-
```csharp
var template = Template.Parse("{{EventDate | date.to_string '%A, %e %B %Y'}} Test");
template.Render(new { EventDate = DateTimeOffset.MaxValue}, member => member.Name).Dump();
```
Th…
-
When I create this model:
```
var model = new
{
date1 = DateTime.UtcNow,
date2 = DateTimeOffset.UtcNow
};
```
I have to use the following template to print it:
```
{{ date1 | dat…
-
Maybe someone will find the following class useful.
Basically it allows any variable or method in scriban templates be written in any casing.
In result the following identifiers will be all consider…
-
Trying to evaluate string expression, as given below:
var scriptObject1 = new ScriptObject();
scriptObject1.Add("var1", "abc");
var context = new Tem…
-
```C#
var parsedTemplate = Template.ParseLiquid("{{ math.plus value: 1 with: 2 }}");
Assert.False(parsedTemplate.HasErrors);
//{(1,4) : error : Error while parsing expression statement: Invalid …
-
I get an out of memory exception when rendering a very large channel history as HTML.
Here's the line where the exporter crashed in `DiscordChatExporter.Core.Services.ExportService`:
```csharp
…
-
We are in a pure API stack and use fluid to generate E-Mail contents.
We would like to use the extensibility features of the templates (namely layout, renderbody, section and rendersection) to compos…