Creating a generic Markdown Page Handler in ASP.NET Core