Skip to content

Commit f8727f5

Browse files
committed
尝试优化渲染内容
1 parent ca87bbf commit f8727f5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • Workbench/Wmf/SkiaWmfRenderer/samples/sample

Workbench/Wmf/SkiaWmfRenderer/samples/sample/Program.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,21 @@ void ConvertImageFile(string file)
6666

6767
markdownText.AppendLine
6868
(
69-
$"""
70-
## {fileNameWithoutExtension}
69+
$$"""
70+
## {{fileNameWithoutExtension}}
7171
72-
**GDI:**
72+
**GDI:**
7373
74-
![](./{gdiFileName})
74+
![](./{{gdiFileName}}){width=250 height=120}
7575
76-
**WMF:**
76+
**WMF:**
7777
78-
"""
78+
"""
7979
);
8080

8181
if (success)
8282
{
83-
markdownText.AppendLine($"![](./{wmfFileName})");
83+
markdownText.AppendLine($"![](./{wmfFileName})"+ "{width=250 height=120}");
8484
}
8585
else
8686
{

0 commit comments

Comments
 (0)