-
How to reproduce:
```C#
public static class MyFunctions
{
public static string A(TemplateContext context, object input, string currencyCode = null)
{
return input.T…
-
```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…
-
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…
-
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…
-
I've written a MarkDig parser and in the parser I would want to get access to some contextual information about the document being parsed (that's not available in the document itself).
Is there any…
-
Trying to evaluate string expression, as given below:
var scriptObject1 = new ScriptObject();
scriptObject1.Add("var1", "abc");
var context = new Tem…
-
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…
-
### **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…
-
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
…