Skip to content

XmlmXmlmX/InkyTagHelpers

Repository files navigation

.NET Core Version Downloads

Inky Tag Helpers

Tag Helpers to render Inky-HTML (Foundation for Emails) in ASP.NET Core.

With this Tag Helper it is possible to render (derived from the latest zurb/inky implementation) the inky syntax in ASP.NET Core.

Installation

Install the nuget Package InkyTagHelpers from nuget.org.

nuget Install-Package InkyTagHelpers

or just Manage NuGet Packages... from your projects context menu.

Usage

To understand wich tag should be used for what, follow the official Foundation for Emails documentation in components: https://get.foundation/emails/docs/inky.html.

In ASP.NET Core, just start with the Example project or from scratch

The supported tags are

<button>, <callout>, <columns>, <container>, <menu>, <item> (only nested inside menu), <row>, <spacer>, <wrapper>.

Examples

Have a look at the InkyTagHelpers.Web project. There you can find some basic usage examples.