Skip to content

Commit 51506a4

Browse files
committed
Fix copy content formatting
Replaced code block formatting with inline code formatting for icon names in the generated markdown table. Updated README to match the new format, making the icon name column more concise and easier to read.
1 parent eb8c5c3 commit 51506a4

File tree

2 files changed

+314
-940
lines changed

2 files changed

+314
-940
lines changed

Editor/IconBrowser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ private static void GenerateMarkdown(string rootPath, IEnumerable<Texture2D> suc
451451
string imageName = string.Concat(icon.name.Split(Path.GetInvalidFileNameChars()));
452452
string preview = $"<img src=\"icons/{imageName}.png\" width=\"24\" alt=\"{icon.name}\">";
453453
string dims = $"`{icon.width}×{icon.height}`";
454-
string code = $"```\n{icon.name}\n```";
454+
string code = $"`{icon.name}`";
455455
writer.WriteLine($"| {preview} | {dims} | {code} |");
456456
}
457457

0 commit comments

Comments
 (0)