@page @using Markdig @model Docs.SocialCards.SocialCardModel @{ Layout = null; }
╭─ ~/spectre.console .NET 9.0  main
╰─ dotnet run
╭────────────────────────────────────────────────────────╮
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
╰────────────────────────────────────────────────────────╯
@Model.Title
@if (string.IsNullOrWhiteSpace(Model.Description) == false) {

@Html.Raw(Markdown.ToHtml(Model.Description))

} @if (string.IsNullOrWhiteSpace(Model.Highlights) == false) {
    @foreach (var highlight in Model.Highlights.Split("||")) {
  • @Html.Raw(Markdown.ToHtml(highlight))
  • }
} @if (string.IsNullOrWhiteSpace(Model.Footer) == false) { }