TextTemplating
Text templating is used to dynamically render contents based on a template and a model.
Install / Use
/learn @axuno/TextTemplatingREADME
Axuno.TextTemplating
Text templating is used to dynamically render contents based on a template and a model.
- It is based on the Scriban library, a language that supports conditional logics, loops and much more.
- Template content can be localized.
- You can define layout templates to be used as the layout while rendering other templates.
- You can pass arbitrary objects to the template context (beside the model) for advanced scenarios.
The library is a modified version of the lightweight TextTemplating.Scriban part of Volo.Abp.TextTemplating 7.0, (i.e., exluding the more heavy TextTemplating.Razor) Modifications to the source code were made by axuno in 2020-23. Changes focused on:
- decouple Volo.Abp.TextTemplating from all dependencies of the Abp Framework
- replace the dependency Volo.Abp.VirtualFileSystem with a modified forked version of it (Axuno.VirtualFileSystem)
- use Microsoft DependencyInjection instead of AutoFac
- use .Net resource files for inline localization instead JSON files
- change of namespaces
Getting started
Install the NuGet package
- Run the demo program included in the repo
- Read the Scriban language docs
- Read the Text Templating wiki
Related Skills
qqbot-channel
344.1kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
99.8k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
344.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
