Gandorphi.Html_Generator
2.0.0
dotnet add package Gandorphi.Html_Generator --version 2.0.0
NuGet\Install-Package Gandorphi.Html_Generator -Version 2.0.0
<PackageReference Include="Gandorphi.Html_Generator" Version="2.0.0" />
paket add Gandorphi.Html_Generator --version 2.0.0
#r "nuget: Gandorphi.Html_Generator, 2.0.0"
// Install Gandorphi.Html_Generator as a Cake Addin #addin nuget:?package=Gandorphi.Html_Generator&version=2.0.0 // Install Gandorphi.Html_Generator as a Cake Tool #tool nuget:?package=Gandorphi.Html_Generator&version=2.0.0
private string LoadHtml() { var root = new html { N = new N{ new head { N = new N{ new meta(), new title { TextContent = "Biograph" }, new link { Rel = rel.icon, hRef = "favicon.png"}, new style { TextContent = LoadCss()}, new h1 { Align = Align.center, TextContent = $"About { (new a { hRef = "http://www.google.com/", TextContent = "Me" }).ToString ()}" } } }, new main{ N = new N{ new body { N = new N{ new img { src = "foto.png", alt = "foto"}, new p { TextContent = "Text info1" }, new p { TextContent = "Text info 2" }, new blockquote{ N = new N{ new p { TextContent = "Quote" }, new cite { TextContent = "Author" }, } }, new nav{ N = new N{ new ul{ N = new N{ new li { N = new N{ new a { hRef = "#",TextContent = "home" }, } }, new li { N = new N{ new a { hRef = "#",TextContent = "port" }, } }, } } } }, new footer { TextContent = "© Gandorphi"}, } } } } } }; return root.ToString(); }
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.