-
Is it possible to get a list of interpolated variables in a template?
Just for clarity, by "interpolated variables" I am referring to "name" in the following line of code
`var template = Template.…
-
I’m looking to write a custom function that would access a global variable that is present on the stack. (So the template can stay relative clean.)
On `TemplateContext`, I can access to topmost obj…
-
**Is your feature request related to a problem? Please describe.**
I have two environments, local and production. Production has a proper url (eg `www.product.com` and in local production it is a v…
-
When I run the following `dotnet publish --configuration Release ` on my Blazor WASM I get the error here below that doesn´t tell me anything useful
This is the content of my csproj if that helps
…
-
Projects like [Scriban](https://github.com/scriban/scriban) support the somewhat awkward environment of roslyn code generators through direct source linking/embedding.
See [Source Embedding](https:…
-
I haven't been able to get this to work. If I have a class
`public class MyObject
{
public MyObject()
{
HelloProperty = "hello from property!";
}
…
-
Hello,
can you provide a small example how to run some code inside scripting mode and return a value?
It would be really helpful.
-
## Current behavior
Wenn using `System.Text.Json` deserializing to `Dictionary` does not work, because it produces
`Dictionary` and `JsonElement` can not be added directly to `ScriptObject` becau…
-
Hi there,
Firstly thank you very much for this wonderful project, I really enjoy using it every time i need to generate email/invoice templates.
Lately I am experimenting on using scriban as templa…
-
我想做一个生成代码的工具,我的朋友告诉我Scriban可以。
可我没用过,也没有文档可以看,只在仓库介绍上了解到怎么读取字符,怎么替换。
甚至没有说怎么创建专门的模板文件,也没有说如何保存到目录下,如果依靠File,那scriban的目的似乎体现不出来,包括解析模板,也只是通过字符在替换。
希望求解