You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great to enhance the razor standalone support (htmlrenderer) to support more features out of the box like:
layout
raw string
Currently it is not usable as a html static template engine and requires to use razorlight or razorengine mainly cause of the lack of these features (or you need to reimplement it yourself).
Ideally enhancing the htmlrenderer API to be able to pass a custom view resolver, get a base component which is not componentbase but a templatebase like (with html helper) would be a very good addition IMHO.
The text was updated successfully, but these errors were encountered:
Not being able to use raw string literals is an issue for the Razor compiler, which is this repo, and is already tracked by #7084 and currently being worked on.
Unfortunately being able to use the Razor compiler as a standalone static site generator is not currently a goal of this repo. There are some more details about this outlined in #8399.
Hi,
Would be great to enhance the razor standalone support (htmlrenderer) to support more features out of the box like:
Currently it is not usable as a html static template engine and requires to use razorlight or razorengine mainly cause of the lack of these features (or you need to reimplement it yourself).
Ideally enhancing the htmlrenderer API to be able to pass a custom view resolver, get a base component which is not componentbase but a templatebase like (with html helper) would be a very good addition IMHO.
The text was updated successfully, but these errors were encountered: