+ @if (embed.Author != null)
+ {
+
+ @if (!string.IsNullOrWhiteSpace(embed.Author.IconUrl))
+ {
+
+ }
+
+ @if (!string.IsNullOrWhiteSpace(embed.Author.Name))
+ {
+
+ @if (!string.IsNullOrWhiteSpace(embed.Author.Url))
+ {
+ @embed.Author.Name
+ }
+ else
+ {
+ @embed.Author.Name
+ }
+
+ }
+
+ }
+
+ @if (!string.IsNullOrWhiteSpace(embed.Title))
+ {
+
+ }
+
+ @if (!string.IsNullOrWhiteSpace(embed.Description))
+ {
+
+
@Raw(FormatEmbedMarkdown(embed.Description))
+
+ }
+
+ @if (embed.Fields.Any())
+ {
+
+ @foreach (var field in embed.Fields)
+ {
+ var isInlineStyle = field.IsInline ? "chatlog__embed-field--inline" : null;
+
+
+ @if (!string.IsNullOrWhiteSpace(field.Name))
+ {
+
+
@Raw(FormatEmbedMarkdown(field.Name))
+
+ }
+
+ @if (!string.IsNullOrWhiteSpace(field.Value))
+ {
+
+
@Raw(FormatEmbedMarkdown(field.Value))
+
+ }
+
+ }
+
+ }
+
+
+ @if (embed.Thumbnail != null)
+ {
+