sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
3.02k stars 72 forks source link

Add Support for .cshtml #195

Closed renecum closed 1 year ago

renecum commented 2 years ago

It would be very useful for .net core web developers to preview cshtml files with quick look.

kMDItemContentType     = "dyn.ah62d4rv4ge80g65ksv002"
kMDItemContentTypeTree = (
    "public.data",
    "public.item",
    "dyn.ah62d4rv4ge80g65ksv002"
)

Thanks for your help.

sbarex commented 2 years ago

I don't know the syntax of this extension. Should it be formatted as html code or as c# code?

renecumcignium commented 2 years ago

For me Html is fine. It allows Razor format, you can see more about it here.

https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-6.0 https://learn.microsoft.com/en-us/aspnet/core/razor-pages/sdk?view=aspnetcore-6.0

Thanks.

sbarex commented 1 year ago

Implemented as csharp

renecumcignium commented 1 year ago

Thank you very much.