Skip to content

Commit 0685282

Browse files
authored
Highlight the AssetUrl props in docs (#18022)
1 parent 0803fba commit 0685282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/reference/modules/Media/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,11 @@ To obtain the correct URL for a resized asset use `AssetUrl` with the optional w
195195

196196
`@Orchard.AssetUrl(Model.Paths[0], width: 100 , height: 240, resizeMode: ResizeMode.Crop)`
197197

198-
To obtain the correct URL for a resized asset use `AssetUrl` with the optional width, height, resizeMode, quality and format parameters, e.g.:
198+
To obtain the correct URL for a resized asset use `AssetUrl` with the optional `width`, `height`, `resizeMode`, `quality` and `format` parameters, e.g.:
199199

200200
`@Orchard.AssetUrl(Model.Paths[0], width: 100 , height: 240, resizeMode: ResizeMode.Crop, quality: 50, format: Format.Jpg)`
201201

202-
To obtain the correct URL for a resized asset use `AssetUrl` with the optional width, height, resizeMode and bgcolor, e.g.:
202+
To obtain the correct URL for a resized asset use `AssetUrl` with the optional `width`, `height`, `resizeMode` and `bgcolor`, e.g.:
203203

204204
`@Orchard.AssetUrl(Model.Paths[0], width: 100 , height: 240, resizeMode: ResizeMode.Pad, bgcolor: "white")`
205205

0 commit comments

Comments
 (0)