diff --git a/src/Apis/Dictionary/DictionaryFormatter.cs b/src/Apis/Dictionary/DictionaryFormatter.cs index 445084e..d5200d7 100644 --- a/src/Apis/Dictionary/DictionaryFormatter.cs +++ b/src/Apis/Dictionary/DictionaryFormatter.cs @@ -115,9 +115,16 @@ public static string FormatExtraInformation(IDictionaryEntry entry) if (!string.IsNullOrEmpty(entry.Origin)) { - builder.Append($"**Origin of {entry.Entry}**\n{FormatHtml(entry.Origin)}\n\n"); + builder.Append($"**Origin of {entry.Entry}**"); } + if (entry.Homograph is not null) + { + builder.Append(SuperscriptDigits[entry.Homograph.Value]); + } + + builder.Append($"\n{FormatHtml(entry.Origin)}\n\n"); + foreach (var note in entry.SupplementaryNotes) { builder.Append($"**{note.Type}**\n"); @@ -182,10 +189,6 @@ private static string FormatHtml(string htmlText, bool newLineExample = false) { builder.Append($"**{content}**"); } - else if (className == "luna-def-number") - { - builder.Append($"\n**{content}**"); - } else { builder.Append(content);