It looks like NET8 brings us a new and improved way to render razor with their HtmlRenderer!
This could be a good opportunity to release a new major version of the RazorEngineCore with breaking changes and the new renderer. This would allow us to close any issues that are blocked due to breaking changes. Leave this version as it for legacy and make a new NET8 version!
https://andrewlock.net/exploring-the-dotnet-8-preview-rendering-blazor-components-to-a-string/