v2.3.0
Features
- Markdown Support: Added a markdown formatter to convert Markdown strings to OpenXML. The Markdown can include placeholders using {{..}}.
- Sub Template support: Templates can now contain sub-templates.
- Configuration Attribute The default formatter can now be configured with an attribute on the model property:
[ModelProperty(DefaultFormatter = "F(n2)")]
public decimal Number { get; set; }`
Improvements
Image Formatter: Image Size and Rotation can no be configured through arguments:, e.g., ds.img(w:14cm, h:3cm, r:90)
Bug Fixes
- Conditional blocks containing
||
or&&
were sometimes not parsed correctly - Nested conditional block in collections were sometimes not parsed correctly