Releases: ltrzesniewski/RazorBlade
Releases · ltrzesniewski/RazorBlade
v0.8.0
- The generated output is now sent directly to the provided
TextWriter
(without additional buffering) when no layout is used (#13).
This reverts a change introduced in v0.5.0. - Added accessibility settings (#19):
- A
RazorBladeDefaultAccessibility
MSBuild property which sets the default accessibility:internal
(default) orpublic
- An
Accessibility
metadata item onRazorBlade
MSBuild items which lets you configure the accessibility per template
- A
Warning
Breaking change: the Layout
property is now read-only. To provide a layout instance, override the CreateLayout
method.
v0.7.0
v0.6.0
v0.5.0
- Added support for layout pages and sections in HTML templates:
Write a layout with@inherits RazorBlade.HtmlLayout
, and specify the layout to use in a page with:@{ Layout = new LayoutToUse(); }
- Used
SearchValues<char>
in .NET 8 for HTML escaping
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.1
- Better support in ReSharper/Rider 2022.3
- Added
<inheritdoc>
on constructors